From a1aeda391a0c462ea53627bcdf50dd4c0daadaed Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 5 Mar 2023 09:18:48 -0500 Subject: Deprecate pkg_resources, removing excuse that 'discouraged is not deprecated'. --- docs/pkg_resources.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/pkg_resources.rst b/docs/pkg_resources.rst index 40e5e6f8..fcb91b7a 100644 --- a/docs/pkg_resources.rst +++ b/docs/pkg_resources.rst @@ -11,12 +11,13 @@ subpackages, and APIs for managing Python's current "working set" of active packages. .. attention:: - Use of ``pkg_resources`` is discouraged in favor of + Use of ``pkg_resources`` is deprecated in favor of `importlib.resources `_, `importlib.metadata `_, and their backports (:pypi:`importlib_resources`, :pypi:`importlib_metadata`). - Please consider using those libraries instead of pkg_resources. + Users should refrain from new usage of ``pkg_resources`` and + should work to port to importlib-based solutions. -------- -- cgit v1.2.1