Open cnsino opened 1 year ago
@cnsino is this about the version that Rye installs itself? You can tell the installer to pick a different version:
curl -sSf https://rye-up.com/get | RYE_TOOLCHAIN="3.11" bash
Not as expected, it still installed 3.10
Indeed. Currently it only lets you pick an already installed version. I will have a look at changing this.
Relatedly, I think the script now allows you to specify a particular toolchain but then ignores that command:
This script will automatically download and install rye (latest) for you.
######################################################################## 100.0%
Welcome to Rye!
This installer will install rye to /home/ubuntu/.rye
This path can be changed by exporting the RYE_HOME environment variable.
Details:
Rye Version: 0.27.0
Platform: linux (x86_64)
✔ Continue? · yes
✔ Select the preferred package installer · uv (quick but experimental)
✔ What should running `python` or `python3` do when you are not inside a Rye managed project? · Run a Python installed and managed by Rye
✔ Which version of Python should be used as default toolchain? · cpython@3.10.4
Installed binary to /home/ubuntu/.rye/shims/rye
Bootstrapping rye internals
Downloading cpython@3.12.2
Checking checksum
Unpacking
Downloaded cpython@3.12.2
Updated self-python installation at /home/ubuntu/.rye/self
I can take a look at this later.
Is it possible to specify the python version at the time of installation? Instead of installing python3.10 by default