Closed D1-3105 closed 2 months ago
Seems like there are a couple of wheels missing on the latest release (3.10.7), in particular linux x86 cpython >= 3.9, I can only see cp38 (files).
yes, I was just about to report the same! Our CI is on fire
we need:
Thank you!
Oh, that's a nice point. We need:
Yes missing wheel for us too. Just to close the loop, we're after 3.11!
Our symptom is
#9 13.65 Installing build dependencies: started
#9 15.41 Installing build dependencies: finished with status 'done'
#9 15.41 Getting requirements to build wheel: started
#9 15.58 Getting requirements to build wheel: finished with status 'done'
#9 15.58 Preparing metadata (pyproject.toml): started
#9 15.74 Preparing metadata (pyproject.toml): finished with status 'error'
#9 15.74 error: subprocess-exited-with-error
#9 15.74
#9 15.74 × Preparing metadata (pyproject.toml) did not run successfully.
#9 15.74 │ exit code: 1
#9 15.74 ╰─> [6 lines of output]
#9 15.74 Checking for Rust toolchain....
#9 15.74
#9 15.74 Cargo, the Rust package manager, is not installed or is not on PATH.
#9 15.74 This package requires Rust and Cargo to compile extensions. Install it through
#9 15.74 the system's package manager or via https://rustup.rs/
#9 15.74
#9 15.74 [end of output]
#9 15.74
#9 15.74 note: This error originates from a subprocess, and is likely not a problem with pip.
#9 15.74 error: metadata-generation-failed
#9 15.74
#9 15.74 × Encountered error while generating package metadata.
#9 15.74 ╰─> See above for output.
We're going to pin back to 3.10.6 for now to get back up and running.
tagging @ijl - this is quite urgent unless we drop this module.
oh, wait, where did you find old wheels, @smallsam - I see only the latest ones on pypi https://pypi.org/project/orjson/#files
unless it doesn't show older versions? let me try the old one then
You're correct the old wheels are there - pypi just doesn't show them - I was able to recover with orjson==3.10.6
- I appreciate your suggestion, @smallsam!
Same here. You need rust installed from 3.10.7....
oh, wait, where did you find old wheels, @smallsam - I see only the latest ones on pypi https://pypi.org/project/orjson/#files
unless it doesn't show older versions? let me try the old one then
https://pypi.org/project/orjson/3.10.6/#files
If you need them directly.
Same here. You need rust installed from 3.10.7....
it's because wheels are missing so it's trying to build from source which requires rust.
use https://github.com/ijl/orjson/issues/508#issuecomment-2276979404 solution
@stas00 I don't think wheels are missing for the latest release, they are there: https://pypi.org/project/orjson/3.10.7/#files But seems like Rust is now required when pip installing. Probably to have a faster "custom" build.
Nope, the wheel we need is missing, we need:
It's there in 3.10.6, but not 3.10.7
orjson-3.10.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (141.1 kB view hashes)
Uploaded Jul 2, 2024 CPython 3.10 manylinux: glibc 2.17+ x86-64
And I found how to navigate to the older version on pypi - via "Release history" - I think I mixed it up with anaconda where it's all together in one dump.
musllinux != manylinux https://peps.python.org/pep-0656/
Same here. CI is on fire
Same here. CI is on fire
lock orjson to 3.10.6
like this:
"orjson==3.10.6", # orjson==3.10.7 has no amd64 wheels???
Ok my bad I didn't spend much time looking at the exact wheels @stas00
no damage done, Philippe! Thank you for checking.
amd64 wheels for glibc and 3.9, 3.10, 3.11, 3.12, and 3.13 were published.
I've just faced an error, while installing orjson with poetry. Here is the log:
It happened, while your "Actions" were in progress.
UPD: just discovered another error: