-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Add a nicer way to select a free-threaded build #2984
Copy link
Copy link
Closed
Labels
Description
It would be nice if you could select a free-threaded build as a command-line option to pyenv install, e.g. pyenv install --free-threaded, just like --debug. Currently you need to set CONFIGURE_OPTS=--disable-gil in a pyenv install command. I also use pyenv-version-suffix to give it a useful name:
CONFIGURE_OPTS=--disable-gil PYENV_VERSION_SUFFIX='-free-threaded' pyenv install -f -v 3.13.0b2
So I can select it with e.g. pyenv global 3.13.0b2-free-threaded.
It would be nice if pyenv could handle this out of the box. It will probably be something people want to do increasly often starting with Python 3.13.
Reactions are currently unavailable