-
Notifications
You must be signed in to change notification settings - Fork 74
Description
... the new way of doing things, according to PEP 621.
For purposes of Python iRODS Client packaging, testing, expressing & installing dependencies etc. we will have to, in the near future, employ the pyproject.toml mechanism rather than storing the project metadata in setup.py as has been done until now. The warnings in the PRC installation session below reveal that as soon as pip version 25.3 - by any reasonable accounting not far off from today's 25.2 - this requirement will be enforced.
In related requirements, whether stemming from or underlying this change, we must:
- find an alternate way of installing module
progressbar - consider removing -e from from the pip install command that installs the PRC in virtual environments used by the presently planned testing workflows ([#709] preserve options in chaining obj.metadata(opt1=val1)(opt2=val2) #716 )
This is per the DEPRECATION notices to be found in the following PRC install script output, encountered while installing the PRC in a virtualenv container during a trial run of the aforementioned new Github test workflows.
Building wheels for collected packages: progressbar
DEPRECATION: Building 'progressbar' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'progressbar'. Discussion can be found at https://github.com/pypa/pip/issues/6334
Building wheel for progressbar (setup.py) ... done
Created wheel for progressbar: filename=progressbar-2.5-py3-none-any.whl size=12082 sha256=0b930cca4e77e8d03e1df600b0ed9716f60f0a1169d57cd5255290ac3e15398b
Stored in directory: /home/testuser/.cache/pip/wheels/cd/17/e5/765d1a3112ff3978f70223502f6047e06c43a24d7c5f8ff95b
Successfully built progressbar
Installing collected packages: progressbar, wcwidth, urllib3, types-defusedxml, lxml, jsonpointer, defusedxml, unittest-xml-reporting, types-requests, PrettyTable, jsonpatch, types-tqdm, python-irodsclient
━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4/13 [lxml] DEPRECATION: Legacy editable install of python-irodsclient[tests]==3.2.0 from file:///prc.rw (setup.py develop) is deprecated. pip 25.3 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at https://github.com/pypa/pip/issues/11457
Running setup.py develop for python-irodsclient