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

Add PIPENV_SKIP_LOCK to disable locking #2058

Closed
giuscri opened this issue Apr 25, 2018 · 3 comments
Closed

Add PIPENV_SKIP_LOCK to disable locking #2058

giuscri opened this issue Apr 25, 2018 · 3 comments

Comments

@giuscri
Copy link
Contributor

giuscri commented Apr 25, 2018

Locking can be very slow on some machines - for example, I always run pipenv with the --skip-lock option.

It would be useful to control that behaviour from an environment variable.

@techalchemy
Copy link
Member

It is literally slow only the first run now due to hash caching. This isn’t something I think we want to support or encourage since you are skipping all of the functionality of the tool

@techalchemy
Copy link
Member

We might want to revisit this (see #2200)

@pirate
Copy link

pirate commented Aug 15, 2019

It is literally slow only the first run now due to hash caching.

FWIW This is definitely not true in my experience, anytime I add a new package locking takes a bunch of extra time. I only lock before pushing to master in preparation for deploys, 90% of my runs during development I have to add --skip-lock.

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