-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Hide pkg_resources warning about invalid versions #720
Comments
The warning comes from https://github.com/pypa/setuptools/blob/8af23a41194ae747faf3e60f9cc19141b5e7ad24/pkg_resources/__init__.py#L112-L121 It seems some of your dependencies are using legacy version strings. I don't know if a48976d fixes this problem. Appreciate it if you can have a try. |
Patched my local version of PDM with the diff: it seems it's not enough, I still get the warnings. |
I also changed the import in |
Do you mean the newest release is working? then this issue can be closed. |
If this last mentioned change is effective in the new version, then the first change completes the fix, yes. Thanks a lot! |
I recently started getting a lot of these warnings when resolving dependencies. Would be nice if PDM would discard/ignore them itself, as this is non-actionable by the user anyway.
Also, the warning says "will not be supported in a future release". Do you know what this means concretely? Will future versions stop working with how PDM resolves dependencies?
The text was updated successfully, but these errors were encountered: