Actions
Task #7752
openSetuptools deprecation warning
Start date:
06/17/2024
Due date:
% Done:
0%
Estimated time:
To be discussed:
No
Description
It seems that as a result of upgrading the packages, now we have a new deprecation warning when running mentat modules (for example dbmngr).
/var/mentat/venv/bin/mentat-dbmngr.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html __import__('pkg_resources').require('mentat-ng==2.12.112.dev0')
Setuptools requirements are ">=70.0,<71.0", so we should not run into problems if they decide to remove pkg_resources. But we need be aware of this issue when upgrading to 71.0 (or later).
Related issues
Updated by Jakub Judiny 5 months ago
- Related to Task #7749: Upgrade dev dependencies and remove pylint patch added
Updated by Rajmund Hruška 5 months ago
- Priority changed from Normal to Low
- Target version changed from Backlog to Future
We can't do anything about this as it depends entirely on setuptools
and they don't seem to be in a hurry to fix this warning - https://github.com/pypa/setuptools/issues/3878.
The related file which uses pkg_resources
.
Actions