httptools icon indicating copy to clipboard operation
httptools copied to clipboard

python3.13 version without GIL cannot install httptools

Open cyoffuture opened this issue 5 months ago • 2 comments

cyoffuture avatar Aug 01 '25 09:08 cyoffuture

See also this discussion: https://github.com/MagicStack/httptools/issues/118

svlandeg avatar Sep 23 '25 16:09 svlandeg

This issue can be closed because the install works in the current release, but the GIL is re-enabled on import.

  • #118

% uvx --with=httptools python3.14t -c "import httptools"

      Built httptools==0.7.1
Installed 1 package in 1ms
<frozen importlib._bootstrap>:491: RuntimeWarning: The global interpreter lock (GIL) has been enabled to load
module 'httptools.parser.parser', which has not declared that it can run safely without the GIL. To override
this behavior and keep the GIL disabled (at your own risk), run with PYTHON_GIL=0 or -Xgil=0.

cclauss avatar Oct 31 '25 09:10 cclauss