https://github.com/python/cpython/commit/1a70f66ea856de1b1b0ca47baf9ee8ba6799ae18
commit: 1a70f66ea856de1b1b0ca47baf9ee8ba6799ae18
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2025-04-25T11:31:19Z
summary:
gh-132921: Fix setuptools._distutils.dep_util deprecation (#132923)
Replace setuptools._distutils.dep_util with setuptools.modified in
peg_generator compile_c_extension().
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]