-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outdated API, although this is not a bug, it is recommended to update it #1321
Comments
https://setuptools.pypa.io/en/latest/pkg_resources.html : Attention Use of pkg_resources is deprecated in favor of importlib.resources, importlib.metadata and their backports (importlib_resources, importlib_metadata). Some useful APIs are also provided by packaging (e.g. requirements and version parsing). Users should refrain from new usage of pkg_resources and should work to port to importlib-based solutions. |
An option can be to use what is seen here: I reached this code from here: |
If this looks like a worthwhile direction, I can work on it @shelld3v |
Hi @nrathaus, are you still working on this? |
No sorry I couldn't get it to work with this library |
dirsearch/dirsearch.py:23: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import DistributionNotFound, VersionConflict
The text was updated successfully, but these errors were encountered: