uv icon indicating copy to clipboard operation
uv copied to clipboard

Support freethreading python

Open konstin opened this issue 1 year ago • 1 comments

freethreaded python reintroduces abiflags since it is incompatible with regular native modules and abi3.

Tests: None yet! We're lacking cpython 3.13 no-gil builds we can use in ci.

My test setup:

PYTHON_CONFIGURE_OPTS="--enable-shared --disable-gil" pyenv install 3.13.0a5
cargo run -q -- venv -q -p python3.13 .venv3.13 --no-cache-dir && cargo run -q -- pip install -v psutil --no-cache-dir && .venv3.13/bin/python -c "import psutil"

Fixes #2429

konstin avatar Apr 03 '24 13:04 konstin

deadsnakes has free threading builds, FYI. Haven't started using them in CI yet, but have seen it here: https://github.com/deadsnakes/action.

henryiii avatar Apr 03 '24 20:04 henryiii

I'll add a test case when we have a good test candidate, psutil currently just errors with a different message

konstin avatar Apr 12 '24 09:04 konstin