-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Allow to override pip version for pipenv users #1093
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
Comments
Allow for a manual override of pip version for pipenv users (PR) heroku#1093
Hi! I've left a comment on the PR: |
Just flagging that the legend @alan-eu has created a fork that does exactly this |
Hi! The pipenv (and pip) version has just been updated in #1169. I'm closing this out since adding env var support for pipenv/pip is something that I believe will introduce more issues than it fixes for the reasons mentioned in: However thank you for suggesting this change, and please do open issues for any other ideas you may have :-) |
To your decision to not support this, I respectfully object. Complex Django applications such as my own, rely on dependency resolution as provided by I'd switch to poetry, which seems to be preferred over pipenv these days but that's not supported by this buildpack at all. I can now literally only get my project deployed using @alan-eu's forked version of this buildpack. I know I'm not the only one who has this problem. Anyone who uses pipenv and packages that require a modern version of pip will also have this issue. Please support the python community when it comes to this. What would also solve the issue is if pip (and ideally also pipenv) was upgraded to the latest version before pipenv starts running. |
No problem! I'm going to try and keep pipenv more up to date moving forwards (and hope to never have to pin it to an older pip again!). |
question
Assuming that we don't want to build a new buildpack, is there a workaround for pipenv users to be able to install packages that require a newer pip? unpin and override pip.
reason
A common example of a package that will fail to install is
tensorflow>=2.0
side question
I doubt any developers keep using
pip==9.0.2
. It seems like the main and only reason to pin 9.0.2 is that (#786)it "would require users to uninstall and reinstall their local pipenv environments"
Not sure how some one-time inconvenience can outweigh the need to have the same environment. which simply not possible with the old pip.
example PR
see the attached PR. I created it as an example. It might not be the best solution, I would love to see some workarounds.
The text was updated successfully, but these errors were encountered: