Skip to content

Add a nicer way to select a free-threaded build #2984

@ngoldbaum

Description

@ngoldbaum

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions