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

Add simplified rye fetch #545

Merged
merged 3 commits into from
Jan 20, 2024
Merged

Add simplified rye fetch #545

merged 3 commits into from
Jan 20, 2024

Conversation

mitsuhiko
Copy link
Collaborator

This improves the behavior of rye fetch. When invoked without arguments it will now try to fetch the version of the requested Python interpreter. Specifically this makes the following command work even without an installed Python interpreter without manually having to copy paste anything:

rye pin 3.8
rye fetch
python

The help message is now also adjusted. Additionally this fixes an issue where the .python-version created by the rye init command would freeze a to specific version request (usually with architecture). Behavior is now aligned with rye pin.

@mitsuhiko mitsuhiko merged commit 95ba033 into main Jan 20, 2024
12 checks passed
@mitsuhiko mitsuhiko deleted the feature/auto-fetch branch January 20, 2024 23:30
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