Closed dirkroorda closed 1 week ago
It seems you're right, I'd better upgrade to the latest pyo3!
This should be fixed now in v0.4.7, available on pypi.
Hi @proycon
I tried, but it fails with a different error.
I have updated the rust program analiticcl to 0.4.7 (cargo install analiticcl
), that went successfully, but then I got:
me:~ > pip install --no-cache-dir --upgrade analiticcl
Collecting analiticcl
Downloading analiticcl-0.4.7.tar.gz (11 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
Γ Preparing metadata (pyproject.toml) did not run successfully.
β exit code: 1
β°β> [10 lines of output]
error: failed to parse manifest at `/private/var/folders/nb/_qgnfkns75bcn_p_msyjl81m0000gn/T/pip-install-uyi7zfls/analiticcl_a39c2344880a4bc89d520dc370e83b41/Cargo.toml`
Caused by:
can't find library `analiticcl`, rename file to `src/lib.rs` or specify lib.path
π₯ maturin failed
Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
Caused by: `cargo metadata` exited with an error:
Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/private/var/folders/nb/_qgnfkns75bcn_p_msyjl81m0000gn/T/pip-modern-metadata-4fp2q38p', '--interpreter', '/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13']' returned non-zero exit status 1.
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory /private/var/folders/nb/_qgnfkns75bcn_p_msyjl81m0000gn/T/pip-modern-metadata-4fp2q38p --interpreter /Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13`
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
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.
Hmm.. It should ideally just grab the python wheel. I thought I prepared one for most systems, but I don't explicitly see macos with python 3.13, will check..
@dirkroorda Could you try again now? The missing wheels should be published
But there indeed seems to be an issue compiling from source via pip, I''m reopening this.
It works. I installed 0.4.8 in python 3.13
Right, thanks, issue is fixed, closing!
Is it me or is analyticcl not yet ready for python 3.13?
On macos, I installed rust (brew install rust), and analiticcl (cargo install analiticcl).
Then pip install analiticcl failed, deep down there is an error that a
maturin
commands fails.