From 13438768ba4f2fea8e4c9407bc66674bafd598f0 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 4 Oct 2022 11:50:53 -0400 Subject: [PATCH] Add minimum retention of DeprecatedTuple. Ref #409, Ref #348. --- importlib_metadata/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/importlib_metadata/__init__.py b/importlib_metadata/__init__.py index f5967e41..26a1388c 100644 --- a/importlib_metadata/__init__.py +++ b/importlib_metadata/__init__.py @@ -139,6 +139,7 @@ class DeprecatedTuple: 1 """ + # Do not remove prior to 2023-05-01 or Python 3.13 _warn = functools.partial( warnings.warn, "EntryPoint tuple interface is deprecated. Access members by name.",