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

issue-5285 Remove eager and unnecessary importing of setuptools and pkg_resources #5289

Closed
wants to merge 6 commits into from

Conversation

matteius
Copy link
Member

@matteius matteius commented Aug 23, 2022

Thank you for contributing to Pipenv!

Will require a requirementslib change to actually roll this out, but this is a branch that prototypes fixing #5285 and #5290
The underlying reason why we patched Pip to use sysconfig by default for all python versions (https://github.com/pypa/pipenv/pull/5275/files#diff-e154923a3c93acd48d40dd714127c4b90cac776ebd71930770919d539d137f77R44) though that appears to be compatible with this fix and so far that patch isn't causing a specific problem so I lean towards leaving it in for now. Actually #5290 came in right after I wrote that, so now I am in favor of dropping that patch with this change.

The issue

Some systems have patched sysconfig differently, and from this discussion (pypa/setuptools#3544) it would appear that importing setuptools packages is problematic

@matteius matteius changed the title Branch that tries to answer the question what? about issue-5285 issue-5285 Remove eager and unnecessary importing of setuptools and pkg_resources Aug 23, 2022
@matteius matteius changed the base branch from main to requirementslib-test August 24, 2022 14:44
@matteius matteius closed this Aug 24, 2022
@matteius
Copy link
Member Author

Replaced by: #5228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DO NOT MERGE Status: In Progress This item is in progress.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant