https://github.com/python/cpython/commit/3776ade2e86010d638c538c5d3f225887d714478 commit: 3776ade2e86010d638c538c5d3f225887d714478 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner <[email protected]> date: 2025-04-25T11:55:22Z summary:
[3.13] gh-132921: Fix setuptools._distutils.dep_util deprecation (GH-132923) (#132926) gh-132921: Fix setuptools._distutils.dep_util deprecation (GH-132923) Replace setuptools._distutils.dep_util with setuptools.modified in peg_generator compile_c_extension(). (cherry picked from commit 1a70f66ea856de1b1b0ca47baf9ee8ba6799ae18) Co-authored-by: Victor Stinner <[email protected]> files: M Tools/peg_generator/pegen/build.py diff --git a/Tools/peg_generator/pegen/build.py b/Tools/peg_generator/pegen/build.py index 67a7c0c4788e9d..41338c29bdd9eb 100644 --- a/Tools/peg_generator/pegen/build.py +++ b/Tools/peg_generator/pegen/build.py @@ -95,7 +95,7 @@ def compile_c_extension( import setuptools.logging from setuptools import Extension, Distribution - from setuptools._distutils.dep_util import newer_group + from setuptools.modified import newer_group from setuptools._distutils.ccompiler import new_compiler from setuptools._distutils.sysconfig import customize_compiler _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
