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

Fixes #4790: behaving as no .venv if .venv is in project root and empty #4800

Merged
merged 2 commits into from
Nov 5, 2021

Conversation

kobayashi
Copy link
Contributor

The issue

fix issue #4790

The fix

This is to prevent an user from choosing own workon home as the virtual environment or deleting all virtual environments accidentally under the workon dir. pipenv ignores the content with this change, so that it uses project name base virtual environment If an empty .venv is set in root.

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 #.

@frostming
Copy link
Contributor

Thanks, can you add a news fragment?

@frostming frostming added the PR: awaiting-news The PR related to this issue is missing a news fragment and cannot be merged. label Nov 5, 2021
@kobayashi
Copy link
Contributor Author

Sure thing! Added a file for this fix.

@frostming frostming merged commit 2636992 into pypa:main Nov 5, 2021
@frostming
Copy link
Contributor

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: awaiting-news The PR related to this issue is missing a news fragment and cannot be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants