1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/news/11996.process.rst
Tzu-ping Chung 8295c9941b Deprecate .egg in the imporlib-metadata backend
This provides us a path to remove all pkg_resources usages on Python
3.11 or later, and thus avoid the problem that pkg_resources uses
Python API deprecated in 3.12.
2023-04-24 12:44:05 -06:00

2 lines
475 B
ReStructuredText

Deprecate support for eggs for Python 3.11 or later, when the new ``importlib.metadata`` backend is used to load distribution metadata. This only affects the egg *distribution format* (with the ``.egg`` extension); distributions using the ``.egg-info`` *metadata format* (but are not actually eggs) are not affected. For more information about eggs, see `relevant section in the setuptools documentation <https://setuptools.pypa.io/en/stable/deprecated/python_eggs.html>`__.