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

Pip 10 being installed #680

Closed
harrywhite4 opened this issue Apr 17, 2018 · 5 comments
Closed

Pip 10 being installed #680

harrywhite4 opened this issue Apr 17, 2018 · 5 comments

Comments

@harrywhite4
Copy link

This buildpack is currently installing pip 10, but looking through the scripts it seems like it was supposed to be set at 9.0.2 not sure if using pip 10 is intended or not

We are having some issues installing git dependencies with the new version of pip as described here pypa/pip#5251

I have tried disabling the buildpacks install to manually get pip 9, but looking at the pipenv script skip_pipenv_install is set back to 1 when there are git dependencies.

@edmorley
Copy link
Member

It looks like the get-pip.py invocation here should be passing pip==<version>:

/app/.heroku/python/bin/python "$ROOT_DIR/vendor/get-pip.py" &> /dev/null

@makmanalp
Copy link

@edmorley is passing pip==version to get-pip.py an option? I was under the impression that the get-pip.py bundled all the code within it.

@edmorley
Copy link
Member

Yes:
https://github.com/pypa/get-pip/blob/ba67ea6b49a0caa1c3be638b9f913590a8af624e/templates/default.py#L130-L154

The problem is that the pip that's bundled with get-pip.py self-upgrades:
https://github.com/pypa/get-pip/blob/ba67ea6b49a0caa1c3be638b9f913590a8af624e/templates/default.py#L157

@kennethreitz
Copy link
Contributor

Nice catch, @edmorley! Will update this.

@kennethreitz
Copy link
Contributor

This is now resolved.

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

No branches or pull requests

4 participants