https://github.com/python/cpython/commit/994529da92b466453291da5c188d0e6fbcf51eb5
commit: 994529da92b466453291da5c188d0e6fbcf51eb5
branch: 3.13
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2025-04-26T12:53:03Z
summary:
[3.13] Revert "[3.13] gh-132921: Fix setuptools._distutils.dep_util deprecation
(GH-132923) (#132926)" (#133004)
Revert "[3.13] gh-132921: Fix setuptools._distutils.dep_util deprecation
(GH-132923) (#132926)"
This reverts commit 3776ade2e86010d638c538c5d3f225887d714478.
setuptools.modified module is not available on old setuptools
versions.
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 41338c29bdd9eb..67a7c0c4788e9d 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.modified import newer_group
+ from setuptools._distutils.dep_util 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]