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

Refactor virtualenv create logic #5533

Merged
merged 5 commits into from
Dec 17, 2022
Merged

Refactor virtualenv create logic #5533

merged 5 commits into from
Dec 17, 2022

Conversation

matteius
Copy link
Member

The issue

Fixes #2538

The fix

The fix to import venv was ineffective, but this should retry without it if the first call resulted in error.

The checklist

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

There is an existing news fragment about fixing this.

@matteius matteius requested a review from oz123 December 10, 2022 10:52
pipenv/core.py Outdated Show resolved Hide resolved
@matteius matteius requested a review from oz123 December 17, 2022 01:27
@matteius
Copy link
Member Author

@oz123 I don't see where we maintain the docs for the environment variables -- I assume its an auto-generated page. I think next up in line for me after fixing bugs is documentation overhaul.

@oz123
Copy link
Contributor

oz123 commented Dec 17, 2022

All environment variables that are used to configure pipenv are documented here:
https://pipenv.pypa.io/en/latest/advanced/#configuration-with-environment-variables

It's auto generated from the Settings class in the environments module.

@matteius matteius merged commit fe43762 into main Dec 17, 2022
@matteius matteius deleted the issue-2538-venv-creator branch December 17, 2022 15:13
@matteius matteius changed the title Refactor virtualenv create logic and add retry if creator venv results in error Refactor virtualenv create logic Dec 17, 2022
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 commands throw FileNotFoundError in 64-bit Python on Windows 10
2 participants