-
-
Notifications
You must be signed in to change notification settings - Fork 613
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
pip-compile is taking forever for python3.13 #2088
Comments
I'm guessing that the resolver is backtracking. Python 3.13 is not final yet so projects with C-extensions don't ship pre-compiled wheels for it. Pip is trying to compile whatever it finds and if it crashes (due to not yet being compatible with 3.13, which is what you're likely seeing), it tries to compile older versions. IIRC Qt things take a lot of time to compile. First, verify that a simple You'll likely have to wait until Python 3.13 final release in the fall before PyQt can run on that version. |
Thanks for the explanation, actually matplotlib was the culprit. |
Good to know! It was just a hunch but I'm glad you managed to pinpoint the root cause. I'm not sure what pip-tools could do differently to improve the situation. Perhaps, detecting that the Python runtime is not a stable release and issuing a warning on stderr with an explanation would be useful.. WDYT? |
Hi @webknjaz , Thanks for mainting the tool with this much of passion, it's working but taking time btw, I have few open questions numpy doesn't support 3.13 , how come this is working?
installing from source? btw, where is it cached?
it will be helpful for me , if you explain how exactly this tool work or maybe point me to some stackoverflow answer or article it has picked prebuilt wheel for below , how they are compitable
|
Environment Versions
Python 3.13.0a6+
pip 24.0 from /usr/local/lib/python3.13/site-packages/pip (python 3.13)
pip-compile, version 7.4.1
Steps to replicate
➜ ~ time pip-compile -o requirements.txt requirements.in
is taking forever^C
Aborted!
pip-compile -o requirements.txt requirements.in 3093.59s user 98.14s system 569% cpu 9:20.79 total
content of requirements.in
Expected result
should give result in few seconds
...
Actual result
No result
...
The text was updated successfully, but these errors were encountered: