Skip to content

Fix audit --locked with Pipfile.lock and legacy shell completion env var#6634

Merged
oz123 merged 3 commits intomainfrom
fix/issues-6631-6632
Apr 3, 2026
Merged

Fix audit --locked with Pipfile.lock and legacy shell completion env var#6634
oz123 merged 3 commits intomainfrom
fix/issues-6631-6632

Conversation

@matteius
Copy link
Copy Markdown
Member

@matteius matteius commented Apr 3, 2026

matteius and others added 2 commits April 3, 2026 03:45
- 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>
Copy link
Copy Markdown
Contributor

@oz123 oz123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also update Completion

See #6631

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 oz123 merged commit eb52932 into main Apr 3, 2026
7 checks passed
@oz123 oz123 deleted the fix/issues-6631-6632 branch April 3, 2026 20:08
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.

pipenv audit --locked cannot find Pipfile.lock Shell completion doesn't work in git bash when pipenv>=2026.5.0.

2 participants