Skip to content

How to change the default toolchain? #1276

Answered by bluss
nikhilweee asked this question in Q&A
Discussion options

You must be logged in to vote

Rye updates its self-venv if it knows its version marker for that venv has changed (happens in some version updates of Rye but not all). It will use the newest available toolchain to do so.

With some knowledge of Rye internals you can do this:

rye fetch 3.12.4 # (ensure it's available).
rm .rye/self/tool-version.txt   # remove or change the version marker

Then do anything where rye wants to have its self venv. For example sync in one of your projects:

rye sync
Detected outdated rye internals. Refreshing
Bootstrapping rye internals

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@nikhilweee
Comment options

@philippemiron
Comment options

Comment options

You must be logged in to vote
1 reply
@nikhilweee
Comment options

Answer selected by nikhilweee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants