Print

Print


Resolves #1698

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:

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) fall back to distutils.sysconfig in the event that setuptools is v48.0.0+.

Additional supporting advice given in:

PR #1691 should go in first, so putting this in draft mode for now.


You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/1700

Commit Summary

File Changes

(3 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/pull/1700@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/pull/1700", "url": "https://github.com/xrootd/xrootd/pull/1700", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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