Skip to content

Commit

Permalink
Prefer intersphinx to hardcoded importlib links
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Mar 8, 2023
1 parent 02e28cd commit f175e2c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/pkg_resources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ packages.

.. attention::
Use of ``pkg_resources`` is deprecated in favor of
`importlib.resources <https://docs.python.org/3/library/importlib.resources.html#module-importlib.resources>`_,
`importlib.metadata <https://docs.python.org/3/library/importlib.metadata.html>`_,
and their backports (:pypi:`importlib_resources`,
:pypi:`importlib_metadata`).
:mod:`importlib.resources`, :mod:`importlib.metadata`
and their backports (:pypi:`importlib_resources`, :pypi:`importlib_metadata`).
Users should refrain from new usage of ``pkg_resources`` and
should work to port to importlib-based solutions.

Expand Down

0 comments on commit f175e2c

Please sign in to comment.