From e1f8783a6956216a12f98e690e4b10486b093013 Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Tue, 21 Nov 2023 09:57:44 +0000 Subject: [PATCH] Allow imports of setuptools.dep_util.newer_group with deprecation warning --- setuptools/dep_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setuptools/dep_util.py b/setuptools/dep_util.py index e30cd41b49..c8ab14c8f2 100644 --- a/setuptools/dep_util.py +++ b/setuptools/dep_util.py @@ -4,7 +4,7 @@ def __getattr__(name): - if name not in ['newer_pairwise_group']: + if name not in ['newer_group', 'newer_pairwise_group']: raise AttributeError(name) warnings.warn( "dep_util is Deprecated. Use functions from setuptools.modified instead.",