Conda version of Python 3.14 - Python Help - Discussions on Python.org
Conda version of Python 3.14 Python Help smontanaro (Skip Montanaro) October 8, 2025, 8:10pm 1 While I routinely rebuild and test Python from the source on GitHub, I also use Conda as my normal shell level tool. With the release of 3.14, I created a “python314” Conda environment today. While installing a couple pip packages, I noticed python-gil float by as a dependency of another package. Not recognizing it, I next listed the installed packages.
I saw these with a “python” prefix: Screenshot 2025-10-07 at 17.29.33 1166×202 73.9 KB I originally created the environment like so: conda create -n python314 python=3.14 Can I assume I got the no-gil version by default? If I type “python” at the shell prompt, can I query the no-GIL-iness of the interpreter? I saw nothing obvious in the sys module. oscarbenjamin (Oscar Benjamin) October 8, 2025, 8:42pm 2 When you run python it shows if it is a free-threading build but also you can check sys.is_gil_enabled : $ python Python 3.14.0b2 experimental free-threading build (main, Jun 12 2025, 12:41:34) [Clang 20.1.4 ] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys._is_gil_enabled() False smontanaro (Skip Montanaro) October 8, 2025, 9:15pm 3 Thanks Oscar.
I don’t get a startup message like your b2 build gave (maybe because free-threading is no longer experimental?), but sys._is_gil_enabled() worked. I dug into the python-gil package. Seems it’s a meta package, maybe only enough to tell Conda that the relevant python package has the GIL enabled. oscarbenjamin (Oscar Benjamin) October 8, 2025, 9:33pm 4 I just installed the actual 3.14 release (from uv) and it shows the same but minus “experimental”: $ python Python 3.14.0 free-threading build (main, Oct 7 2025, 15:35:12) [Clang 20.1.4 ] on linux Type "help", "copyright", "credits" or "license" for more information. >>>