-
Notifications
You must be signed in to change notification settings - Fork 875
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
uv fails to build qcore==1.10.0 on Python 3.12, but pip is happy to #2145
Comments
Hm, maybe this is because qcore relies on setup_requires? Not actually sure how setuptools implements that https://github.com/quora/qcore/blob/master/setup.py#L78 Either way, it would be nice if the error message |
Hm, maybe |
Okay, I think it might be something like uv install setuptools in the build environment, but does not pick up its pth path in the env? I validated this hypothesis by doing:
And this appeared to allow uv to build the package |
That shim code comes from:
|
This seems to be mac os specific, i can't repro on linux. I've also checked that the pth file is present in the build env on linux:
|
Just tried this with the latest uv on a apple m1, and for me the installation is succesful. |
Note I just released a version of qcore (1.10.1) with 3.12 wheels; it's possible this bug only manifests if the package has to be built from the sdist. (1.10.0 lacked 3.12 wheels.) |
Trying to reproduce but |
Like konstin, I could not reproduce directly on Linux. However, the thing that motivated me to open this issue is a failure on Linux in Github Actions. Note the error is different, though: https://github.com/python/typing_extensions/actions/runs/8153774375/job/22285830806?pr=348 |
I tried |
I'm gonna close for now due to some difficulty with the repro, but can always reopen if it pops back up. |
I can still repro with |
I think got fixed by #2381 , so thank you konstin! |
The text was updated successfully, but these errors were encountered: