Branch: refs/heads/master Home: https://github.com/xrootd/xrootd Commit: 9e01966ff7973fa88cdd30ac20c2181bb76d8e5a https://github.com/xrootd/xrootd/commit/9e01966ff7973fa88cdd30ac20c2181bb76d8e5a Author: Matthew Feickert <[log in to unmask]> Date: 2022-05-09 (Mon, 09 May 2022) Changed paths: M bindings/python/setup.py.in Log Message: ----------- [Python] Deprecate distutils for setuptools when possible In CPython 3.10 distutils was formally marked as deprecated and it will be removed from CPython in 3.12. To avoid complications, deprecate use of distutils moving forward in favor of using setuptools as recommended. For Python 3.7+ (which should by default have pip v22.0.0+ and setuptools v57.5.0+) use: * `setuptools._distutils.core` over `distutils.core` * CPython's sysconfig library over `distutils.sysconfig` If `setuptools._distutils` (added in setuptools v48.0.0) is not available in the Python 3 environment, fall back to using `distutils.core` and `distutils.sysconfig`. For Python < 3.7 (so Python 3.6 only for all intents and purposes) there is an upper limit on setuptools versions that will work with sysconfig of setuptools v47.3.2 given how setup.py.in is currently written. To avoid problems, fall back to distutils.sysconfig in the event that setuptools is v48.0.0+. Additional supporting advice given in: * https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html * https://peps.python.org/pep-0632/#migration-advice Commit: 6c82d07f40da2d66038e12fdde43320230d1757f https://github.com/xrootd/xrootd/commit/6c82d07f40da2d66038e12fdde43320230d1757f Author: Matthew Feickert <[log in to unmask]> Date: 2022-05-09 (Mon, 09 May 2022) Changed paths: M packaging/rhel/xrootd.spec.in Log Message: ----------- [RPM] Add python2-pip to BuildRequires Necessary, given introduction of pip dependency in 'packaging/wheel/install.sh'. Commit: 56bcaf2cb8256955c7e52cb2eecc511647aa795e https://github.com/xrootd/xrootd/commit/56bcaf2cb8256955c7e52cb2eecc511647aa795e Author: simonmichal <[log in to unmask]> Date: 2022-05-09 (Mon, 09 May 2022) Changed paths: M bindings/python/setup.py.in M packaging/rhel/xrootd.spec.in Log Message: ----------- Merge pull request #1700 from matthewfeickert/feat/deprecate-distutils-for-setuptools [Python] Deprecate distutils for setuptools for Python 3.7+ Compare: https://github.com/xrootd/xrootd/compare/f2bdd84beb9e...56bcaf2cb825 ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1