The part of __init__.py that calls
from pkg_resources import get_distribution, DistributionNotFound
no longer works cf. pypa/setuptools#5174
and raises a ModuleNotFoundError: No module named 'pkg_resources' for Python 3.14 and setuptools 82.0.1
Temporary fix?
Tell users to install earlier version
pip install setuptools=81.0.0
or add it to requirements.txt
Longer term suggestion
Swap to importlib: https://importlib-metadata.readthedocs.io/en/latest/migration.html
The part of
__init__.pythat callsno longer works cf. pypa/setuptools#5174
and raises a
ModuleNotFoundError: No module named 'pkg_resources'for Python 3.14 and setuptools 82.0.1Temporary fix?
Tell users to install earlier version
or add it to requirements.txt
Longer term suggestion
Swap to
importlib: https://importlib-metadata.readthedocs.io/en/latest/migration.html