Skip to content
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

Rely on packaging and pkg_resources internal to pip. #343

Merged
merged 19 commits into from
Sep 14, 2022
Merged

Conversation

matteius
Copy link
Collaborator

@matteius matteius commented Sep 10, 2022

This opens the door to rewriting all of the pkg_resources imports in pipenv to come from pip._vendor.pkg_resources -- If I do this now in pipenv it breaks vcs dependency requirements because it imports from an incompatible path in some places in requirements. The nice thing, is by heading in this direction, it has eliminated these style warnings for me locally which we also get a lot of reports about: pypa/pipenv#5208

Additionally this should help with: pypa/pipenv#5349

This also fixes the issue where tests were not passing with the latest version of pyparsing.

Fixes #181

This was realized when I re-wrote the imports here and it broke 3 vcs related tests: pypa/pipenv#5350

Note about the spaces before the ; -- pypa/packaging#529

@matteius matteius requested a review from oz123 September 11, 2022 00:24
@oz123 oz123 merged commit f450586 into main Sep 14, 2022
@oz123 oz123 deleted the safer_pkg_resources branch September 14, 2022 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failure with pyparsing 2.4.2
2 participants