diff options
Diffstat (limited to 'external/python3/distutils_deprecated.patch.0')
-rw-r--r-- | external/python3/distutils_deprecated.patch.0 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/external/python3/distutils_deprecated.patch.0 b/external/python3/distutils_deprecated.patch.0 new file mode 100644 index 000000000000..8affb17544d3 --- /dev/null +++ b/external/python3/distutils_deprecated.patch.0 @@ -0,0 +1,17 @@ +--- Lib/distutils/__init__.py 2024-07-06 14:41:11.881840873 +0200 ++++ Lib/distutils/__init__.py 2024-07-06 14:41:31.725586707 +0200 +@@ -7,14 +7,3 @@ + + setup (...) + """ +- +-import sys +-import warnings +- +-__version__ = sys.version[:sys.version.index(' ')] +- +-_DEPRECATION_MESSAGE = ("The distutils package is deprecated and slated for " +- "removal in Python 3.12. Use setuptools or check " +- "PEP 632 for potential alternatives") +-warnings.warn(_DEPRECATION_MESSAGE, +- DeprecationWarning, 2) |