Skip to content
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

Python 3.13.0 NoGil (Free Threaded) version #177

Open
patrizok opened this issue Nov 12, 2024 · 1 comment
Open

Python 3.13.0 NoGil (Free Threaded) version #177

patrizok opened this issue Nov 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@patrizok
Copy link

Pip install error on Python 3.13.0 NoGil

Reproduction Steps

pip3 install niquests

Output

`Using pip 24.3.1 from /usr/local/lib/python3.13t/site-packages/pip (python 3.13)
Collecting niquests[socks]
Obtaining dependency information for niquests[socks] from https://files.pythonhosted.org/packages/75/38/7d464de3acd6ec3992a6478af94ba6d778f96b92566fe9e855f96f226070/niquests-3.10.2-py3-none-any.whl.metadata
Using cached niquests-3.10.2-py3-none-any.whl.metadata (15 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.13t/site-packages (from niquests[socks]) (3.4.0)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.13t/site-packages (from niquests[socks]) (3.10)
Collecting kiss-headers<4,>=2 (from niquests[socks])
Obtaining dependency information for kiss-headers<4,>=2 from https://files.pythonhosted.org/packages/f9/3e/9d8f56a758d8259abd6e33417067013a217f7db9e2f37a76d637c5439b9d/kiss_headers-2.4.3-py3-none-any.whl.metadata
Using cached kiss_headers-2.4.3-py3-none-any.whl.metadata (13 kB)
Collecting urllib3-future<3,>=2.11.900 (from niquests[socks])
Obtaining dependency information for urllib3-future<3,>=2.11.900 from https://files.pythonhosted.org/packages/10/72/fe866e2fd78b74f4302d810bc0849fbacee8eacd99f8b8f54728adf9c619/urllib3_future-2.11.910-py3-none-any.whl.metadata
Using cached urllib3_future-2.11.910-py3-none-any.whl.metadata (15 kB)
Collecting wassima<2,>=1.0.1 (from niquests[socks])
Obtaining dependency information for wassima<2,>=1.0.1 from https://files.pythonhosted.org/packages/77/ef/a51e6672483f111d4d3e1aaa098052e9164b650f685fcd7d7c864e006671/wassima-1.1.5-py3-none-any.whl.metadata
Using cached wassima-1.1.5-py3-none-any.whl.metadata (4.5 kB)
Requirement already satisfied: h11<1.0.0,>=0.11.0 in /usr/local/lib/python3.13t/site-packages (from urllib3-future<3,>=2.11.900->niquests[socks]) (0.14.0)
Collecting jh2<6.0.0,>=5.0.3 (from urllib3-future<3,>=2.11.900->niquests[socks])
Obtaining dependency information for jh2<6.0.0,>=5.0.3 from https://files.pythonhosted.org/packages/ae/1b/e1c5b37108f76460b96a450c67139afe1a5de86531dea9948001c071745f/jh2-5.0.4-py3-none-any.whl.metadata
Using cached jh2-5.0.4-py3-none-any.whl.metadata (4.0 kB)
Collecting qh3<2.0.0,>=1.2.0 (from urllib3-future<3,>=2.11.900->niquests[socks])
Using cached qh3-1.2.1.tar.gz (190 kB)
Running command pip subprocess to install build dependencies
Using pip 24.3.1 from /usr/local/lib/python3.13t/site-packages/pip (python 3.13)
Collecting maturin<2.0,>=1.2
Obtaining dependency information for maturin<2.0,>=1.2 from https://files.pythonhosted.org/packages/84/97/5e2bfbcf42725ba5f64310423edcf00d90e684a61d55dd0a26b2313a44b6/maturin-1.7.4-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata
Using cached maturin-1.7.4-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.metadata (18 kB)
Using cached maturin-1.7.4-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl (8.9 MB)
Installing collected packages: maturin
Successfully installed maturin-1.7.4
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
Installing build dependencies ... done
Running command Getting requirements to build wheel
Getting requirements to build wheel ... done
Running command Preparing metadata (pyproject.toml)

Cargo, the Rust package manager, is not installed or is not on PATH.
This package requires Rust and Cargo to compile extensions. Install it through
the system's package manager or via https://rustup.rs/

Checking for Rust toolchain....
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /usr/local/bin/python /usr/local/lib/python3.13t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp75p8m3wm
cwd: /tmp/pip-install-7hnnf5ti/qh3_89427f3f3a8748798d425a7606d5f300
Preparing metadata (pyproject.toml) ... error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.`

@Ousret
Copy link
Member

Ousret commented Nov 12, 2024

We are actually working on this.
We'll post update here once it is ready.

@Ousret Ousret added the enhancement New feature or request label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants