Browse Source

Update contrib/python/setuptools/py3 to 69.0.2

robot-contrib 1 year ago
parent
commit
fb545bcd94

+ 1 - 1
contrib/python/setuptools/py3/.dist-info/METADATA

@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: setuptools
-Version: 69.0.0
+Version: 69.0.2
 Summary: Easily download, build, install, upgrade, and uninstall Python packages
 Home-page: https://github.com/pypa/setuptools
 Author: Python Packaging Authority

+ 8 - 6
contrib/python/setuptools/py3/setuptools/dep_util.py

@@ -1,14 +1,16 @@
-import warnings
-
 from ._distutils import _modified
+from .warnings import SetuptoolsDeprecationWarning
 
 
 def __getattr__(name):
-    if name not in ['newer_pairwise_group']:
+    if name not in ['newer_group', 'newer_pairwise_group']:
         raise AttributeError(name)
-    warnings.warn(
+    SetuptoolsDeprecationWarning.emit(
         "dep_util is Deprecated. Use functions from setuptools.modified instead.",
-        DeprecationWarning,
-        stacklevel=2,
+        "Please use `setuptools.modified` instead of `setuptools.dep_util`.",
+        see_url="https://github.com/pypa/setuptools/pull/4069",
+        due_date=(2024, 5, 21),
+        # Warning added in v69.0.0 on 2023/11/20,
+        # See https://github.com/pypa/setuptools/discussions/4128
     )
     return getattr(_modified, name)

+ 1 - 1
contrib/python/setuptools/py3/ya.make

@@ -2,7 +2,7 @@
 
 PY3_LIBRARY()
 
-VERSION(69.0.0)
+VERSION(69.0.2)
 
 LICENSE(MIT)