Skip to content

Conversation

Naofal-Helal
Copy link
Contributor

@Naofal-Helal Naofal-Helal commented Sep 22, 2024

The issue

This is a regression where pipenv uninstall --all fails when the venv does not exist.

The solution

Add a check to make sure the environment is valid (venv exists).

ref #6185

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

@Naofal-Helal Naofal-Helal marked this pull request as ready for review September 22, 2024 11:01
@Naofal-Helal Naofal-Helal changed the title Add test case Fix uninstall --all fails when venv is deleted Sep 22, 2024
@matteius matteius merged commit fbecd8e into pypa:main Sep 23, 2024
2 checks passed
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