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

Deploy fails when uploading Pipfile.lock #702

Closed
ddahan opened this issue May 25, 2018 · 2 comments
Closed

Deploy fails when uploading Pipfile.lock #702

ddahan opened this issue May 25, 2018 · 2 comments

Comments

@ddahan
Copy link

ddahan commented May 25, 2018

When I deploy my project with Pipfile and Pipfile.lock, here is the error I got on Heroku:

-----> Python app detected
-----> Installing dependencies with Pipenv 11.8.2…
       Your Pipfile.lock (48bdc8) is out of date. Expected: (2bfadf).
       Aborting deploy.
 !     Push rejected, failed to compile Python app.
 !     Push failed

Note that my Pipfile.lock is up to date since I ran pipenv update just before commiting, pushing and deploying.

If I erase my Pipfile.lock, then commiting, pushing, deploying, it works.
However, it's not a clean solution because the Pipfile.lock must be updated to ensure deterministic builds.

I'm using Python 3.6.5 and Pipenv 2018.05.18.
Not sure why the buildpack hardcoded the 11.8.2 version.

@ddahan ddahan changed the title Deploy fail when uploading Pipfile.lock Deploy fails when uploading Pipfile.lock May 25, 2018
@sigmavirus24
Copy link
Contributor

Related to #701

sigmavirus24 added a commit that referenced this issue Jul 10, 2018
This also starts tracking which Pipenv version users are selecting to
use.

Closes #702
Closes #704
Closes #706
Closes #727
@CaseyFaist
Copy link
Contributor

CaseyFaist commented Oct 11, 2018

Buildpack is currently pinned at Pipenv version 2018.05.18, and will be updated as stable releases come out 👍

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

3 participants