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

Faster, and offline venvs #22

Merged
merged 9 commits into from
Jun 26, 2024
Merged

Faster, and offline venvs #22

merged 9 commits into from
Jun 26, 2024

Conversation

tusharsadhwani
Copy link
Owner

@tusharsadhwani tusharsadhwani commented Jun 26, 2024

  • Try to find a satisfyable Python version locally before trying to resolve it from GitHub.
  • Fix fallback GitHub data not being used properly in Rust (Python venv creation would have worked offline until now as long as the Python version in the fallback github data matches local, Rust didn't, because when the http request failed it would bubble up the error.)
  • Use the bundled microvenv with python -m ensurepip for macos and linux, which is much faster than the venv module.

@tusharsadhwani tusharsadhwani merged commit 350a16d into main Jun 26, 2024
12 checks passed
@tusharsadhwani tusharsadhwani deleted the microvenv branch June 26, 2024 06:33
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.

1 participant