Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
[3.13] Revert "[3.13] gh-132921: Fix setuptools._distutils.dep_util deprecation (GH-132923) (#132926)"#133004
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…precation (pythonGH-132923) (python#132926)"This reverts commit3776ade.setuptools.modified module is not available on old setuptoolsversions.
Python 3.13 uses setuptools-67.6.1 which doesn't have |
994529d
intopython:3.13Uh oh!
There was an error while loading.Please reload this page.
Hi@vstinner, do you plan to backport this change in a different way? Because while Internally, I went with the following; it should work with both old and new: --- Python-3.13.3/Tools/peg_generator/pegen/build.py+++ Python-3.13.3/Tools/peg_generator/pegen/build.py@@ -95,7 +95,10 @@ def compile_c_extension( import setuptools.logging from setuptools import Extension, Distribution- from setuptools._distutils.dep_util import newer_group+ try:+ from setuptools.modified import newer_group+ except ImportError:+ from setuptools._distutils.dep_util import newer_group from setuptools._distutils.ccompiler import new_compiler from setuptools._distutils.sysconfig import customize_compiler |
Uh oh!
There was an error while loading.Please reload this page.
This reverts commit3776ade.
setuptools.modified module is not available on old setuptools versions.