This module is not working any more with setuptools v82 (https://github.com/pypa/setuptools/tree/v82.0.0).
- ``pkg_resources`` has been removed from Setuptools. Most common uses of ``pkg_resources`` have been superseded by the `importlib.resources <https://docs.python.org/3/library/importlib.resources.html>`_ and `importlib.metadata <https://docs.python.org/3/library/importlib.metadata.html>`_ projects. Projects and environments relying on ``pkg_resources`` for namespace packages or other behavior should depend on older versions of ``setuptools``. (#3085)
Because of this and the use of passlib 1.7 we get now following error:
File "/Users/wep/devel/rero/rero-ils/.venv/lib/python3.12/site-packages/invenio_accounts/admin.py", line 24, in <module>
from passlib import pwd
File "/Users/wep/devel/rero/rero-ils/.venv/lib/python3.12/site-packages/passlib/pwd.py", line 16, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
This module is not working any more with setuptools v82 (https://github.com/pypa/setuptools/tree/v82.0.0).
Because of this and the use of passlib 1.7 we get now following error: