-
Notifications
You must be signed in to change notification settings - Fork 6
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
Latest Pipenv breaks pip-shims inside managed environment #23
Comments
Environment variable is probably the wrong approach for this config. |
Can you explain what you mean? What is happening that is breaking? Did I cut a release with that env var set? |
Oh we patch the path to accommodate that pretty much everywhere. Where is it breaking |
Minimal producible example: # Pipfile
[packages]
pip-shims = '*'
|
Can we just unset this in the context of |
Yeah that would be a reasonable stop gap. I feel pip-shims need to be more robust, however. |
What do you think is a better approach? I don’t have strong feelings |
I would expose a top-level function set_pip_module that takes a string (or an imported module) to set the global variable. |
Because Pipenv sets
PIP_SHIMS_BASE_MODULE
topipenv.patched.notpip
, and the pip-shims in the virtual environment cannot find modulepipenv
.The text was updated successfully, but these errors were encountered: