-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Support installing CPython 3.13.0a2+ with the --disable-gil
flag
#2851
Comments
--disable-gil
flag--disable-gil
flag
You can pass any custom Configure options via the |
@native-api Gotcha, that seemed to work. For reference: $ PYTHON_CONFIGURE_OPTS='--disable-gil' pyenv install 3.13-dev
$ pyenv shell 3.13-dev
$ python3.13 -c 'import sysconfig; print(sysconfig.get_config_var("Py_GIL_DISABLED"))'
1 Thanks! |
Is there a way to install two 3.13-dev versions but to different directories to test builds both with enabled and disabled gil? Pyenv-alias plugin does not work any more, just renaming folders will break the installation. |
It is possible by calling Python-build directly. See its |
@native-api Thank you, it helped. Some details for those who'll search for it in the future. You may find python-build readme here. The sequence of commands I used:
However, seems that the current nogil implementation is less stable than the experimental nogil 3.9.10 fork. |
Too many issues will kill our team's development velocity, drastically.
Make sure you have checked all steps below.
Prerequisite
pyenv
and the defaultpython-build
plugin only. Please refrain from reporting issues of other plugins here.Description
CPython 3.13.0a2+ supports a build time
--disable-gil
flag. It would be great ifpyenv install
supported installing a GIL-less CPython either with a flag similar to the existing-g/--debug
flag or with new, GIL-less, versions like3.13.0a2-nogil
.The text was updated successfully, but these errors were encountered: