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

Remove duplicate skip-lock option #3344

Merged
merged 1 commit into from
Dec 2, 2018

Conversation

jxltom
Copy link
Contributor

@jxltom jxltom commented Dec 2, 2018

The issue

This duplicate --skip-lock is introduced in 714ff65 to make sure --skip-lock is respected. Then it is removed in https://github.com/pypa/pipenv/pull/3112/files for fixing a bug.

With this PR, duplicated skip-lock option is removed. Locking behavior is by default for pipenv uninstall. Locking can be skipped by providing --skip-lock option.

The checklist

  • Associated issue
  • A news fragment in the news/ directory to describe this fix with the extension .bugfix, .feature, .behavior, .doc. .vendor. or .trivial (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.

@techalchemy
Copy link
Member

As long as this definitely still works (given the switch to state.installstate.skip_lock, it should work) I’m ok with it. Just to confirm, the option is passed to uninstall via the uninstall group right?

@techalchemy
Copy link
Member

I double checked. This is good to go. Thanks!

@techalchemy techalchemy merged commit 8707fe5 into pypa:master Dec 2, 2018
@jxltom jxltom deleted the remove-additional-option branch December 2, 2018 11:31
@jxltom
Copy link
Contributor Author

jxltom commented Dec 2, 2018

Yes, exactly. It is passed by uninstall_options. 🗡

Actually skip_lock argument is not being used insider the method actually. So it will be safe to remove it.

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

Successfully merging this pull request may close these issues.

2 participants