Fix audit --locked with Pipfile.lock and legacy shell completion env var#6634
Merged
Fix audit --locked with Pipfile.lock and legacy shell completion env var#6634
Conversation
- Fix #6632: `pipenv audit --locked` failed because pip-audit's --locked flag doesn't support Pipfile.lock format. Now generates a temporary requirements file from Pipfile.lock and passes it via -r instead. - Fix #6631: `_PIPENV_COMPLETE=bash_source pipenv` dumped the full help text instead of a completion script after the Click-to-argparse migration. Now detects the legacy env var and prints a migration message pointing users to the new argcomplete-based workflow. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add documentation for users migrating from the old _PIPENV_COMPLETE mechanism (pre-2026.5.0) to the new argcomplete-based workflow, and add Git Bash (Windows) activation instructions. Closes #6631 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
oz123
requested changes
Apr 3, 2026
Replace the outdated _PIPENV_COMPLETE instructions with the new register-python-argcomplete workflow. Add Git Bash mention and migration note for users upgrading from pipenv < 2026.5.0. Refs #6631 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
oz123
approved these changes
Apr 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix
pipenv audit --lockedcannot find Pipfile.lock #6632:pipenv audit --lockedfailed because pip-audit's --locked flag doesn't support Pipfile.lock format. Now generates a temporary requirements file from Pipfile.lock and passes it via -r instead.Fix Shell completion doesn't work in git bash when pipenv>=2026.5.0. #6631:
_PIPENV_COMPLETE=bash_source pipenvdumped the full help text instead of a completion script after the Click-to-argparse migration. Now detects the legacy env var and prints a migration message pointing users to the new argcomplete-based workflow.