Replace deprecated usage of pkg_resources
#13991
Labels
good first issue
This issue is ideal for first-time contributors!
pkg_resources
#13991
setuptools
has deprecated theirpkg_resources
sub-package in favor of stdlib packages. See https://setuptools.pypa.io/en/latest/pkg_resources.htmlWe appear to use it on only a few places:
I'm not certain where to best find a replacement for
safe_name()
yet. We might have existing comparable functionality in warehouse already.Feel free to omit this from the refactor if it's too complex.
A similar refactor took place in
readme-renderer
, see pypa/readme_renderer#281 for details.Good First Issue: This issue is good for first time contributors. If you've already contributed to Warehouse, work on another issue without this label instead. If there is not a corresponding pull request for this issue, it is up for grabs. For directions for getting set up, see our Getting Started Guide.
If you are working on this issue and have questions, feel free to ask them here, in the
#pypa-dev
chat channel on Libera, the PyPA Discord or on the Discourse.Screenshot Required: If your pull request makes a visual change, include a screenshot of your update. This helps our team give you feedback faster.
The text was updated successfully, but these errors were encountered: