Skip to content

Commit f6c9623

Browse files
committed
docs: Update pkg_resources deprecation warnings
Signed-off-by: Stephen Finucane <stephen@that.guru>
1 parent 25700da commit f6c9623

3 files changed

Lines changed: 22 additions & 1 deletion

File tree

docs/deprecated/pkg_resources.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,17 @@ Package Discovery and Resource Access using ``pkg_resources``
1414
``pkg_resources`` issued official deprecation warnings as early as
1515
``setuptools`` **v67.5.0**.
1616

17-
.. version-removed:: v82.0.0
17+
.. version-changed:: v82.0.0
1818
``pkg_resources`` is no longer maintained, no longer used internally by
1919
``setuptools``, and is no longer included in current
2020
distributions/installations as of ``setuptools`` **v82.0.0**.
2121

22+
.. version-changed:: 83.0.0
23+
``pkg_resources`` is reintroduced but remains deprecated and should not
24+
be used by new project. Existing projects should continue to migrate
25+
away from it, as discussed below. No new features or bugfixes will be
26+
accepted for this package.
27+
2228
Projects must migrate away from ``pkg_resources``. The recommended
2329
replacements are:
2430

newsfragments/5174.bugfix.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
The ``pkg_resources`` package has been restored. It remains deprecated and
2+
should not be used for new packages. Existing users should migrate to a
3+
replacement as soon as possible. No new features or bug fixes will be accepted
4+
for this package.

pkg_resources/README.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
``pkg_resources``
2+
=================
3+
4+
.. warning::
5+
6+
``pkg_resources`` is considered deprecated and frozen. No new features or
7+
bug fixes will be accepted for this package.
8+
9+
The legacy ``pkg_resources``. For more information, see `the documentation`__.
10+
11+
.. __: https://setuptools.pypa.io/en/latest/deprecated/pkg_resources.html

0 commit comments

Comments
 (0)