You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Those docs suggest using VersionReq instead but that doesn't seem right. I would maybe just do something like if only_one_dot(version) { version += ".0" }. Or just split on dots.
I guess the other option is to give a better error message since apparently Patchelf 0.14 is required and maybe they switched to proper semver by that point.
Your maturin version (maturin --version)
1.5.1
Your Python version (python -V)
3.12.5
Your pip version (pip -V)
23.2.1
What bindings you're using
bin
Does cargo build work?
Yes, it works
If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?
Yes
Steps to Reproduce
Install patchelf 0.12.
Built a maturin project that requires patchelf.
The text was updated successfully, but these errors were encountered:
Bug Description
I get this error:
It is caused because my
patchelf
does not use a semver version:This is on RHEL 8.
The code uses
parse::<semver::Version>
to parse it, from the semver crate.That
parse
function requires a patch component.Those docs suggest using
VersionReq
instead but that doesn't seem right. I would maybe just do something likeif only_one_dot(version) { version += ".0" }
. Or just split on dots.I guess the other option is to give a better error message since apparently Patchelf 0.14 is required and maybe they switched to proper semver by that point.
Your maturin version (
maturin --version
)1.5.1
Your Python version (
python -V
)3.12.5
Your pip version (
pip -V
)23.2.1
What bindings you're using
bin
Does
cargo build
work?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/
)?Steps to Reproduce
The text was updated successfully, but these errors were encountered: