-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Safer usages of pkg_resources #5350
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Will depend on actually vendoring in this sarugaku/requirementslib#343 with a new release of requirementslib, but I have the changes in place now for testing. |
I have vendor'd in the new requirementslib release so this is ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Lots of code removed!
Also, I am really happy we keep moving to pip._vendor
as our goal is to remove duplicate libraries.
Fixes #5349
Fixes #5208
The issue
__main__.py
which is a more modern way using importlib that does not rely on pkg_resoruces.vendoring.update
task by adding it to theLIBRARY_RENAMES
and reinvoke thevendoring.update
task which rewrote the imports.