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
In Maturin 0.13.3 when running maturin stdist, the handling of relative path of local dependencies of local dependencies changed, breaking pyoxigraph build.
The current Oxigraph crate structure is:
/pyoxigraph (with dependency on oxigraph with path = "../oxigraph")
/oxigraph (with dependency on oxrdf with path = "oxrdf")
/oxigraph/oxrdf
With Maturin 0.13.2, local_dependencies/oxigraph/Cargo.toml contains oxrdf = { path= "../oxrdf", version = "0.1.0" }
With Maturin 0.13.3, local_dependencies/oxigraph/Cargo.toml contains oxrdf = { path= "oxrdf", version = "0.1.0" }
Nothing else has changed in the build. This change in local path leads to a cargo metadata error on installation.
PS: thank you so much for Maturin and all the improvements that are done version after version. This tool development is amazing to follow.
Your Python version (python -V)
Python 3.10.6
Your pip version (pip -V)
pip 22.0.4
What bindings you're using
pyo3
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 /)?
Bug Description
In Maturin 0.13.3 when running
maturin stdist
, the handling of relative path of local dependencies of local dependencies changed, breaking pyoxigraph build.The current Oxigraph crate structure is:
/pyoxigraph
(with dependency on oxigraph withpath = "../oxigraph"
)/oxigraph
(with dependency on oxrdf withpath = "oxrdf"
)/oxigraph/oxrdf
local_dependencies/oxigraph/Cargo.toml
containsoxrdf = { path= "../oxrdf", version = "0.1.0" }
local_dependencies/oxigraph/Cargo.toml
containsoxrdf = { path= "oxrdf", version = "0.1.0" }
Nothing else has changed in the build. This change in local path leads to a
cargo metadata
error on installation.PS: thank you so much for Maturin and all the improvements that are done version after version. This tool development is amazing to follow.
Your Python version (
python -V
)Python 3.10.6
Your pip version (
pip -V
)pip 22.0.4
What bindings you're using
pyo3
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
GitHub CI output: https://github.com/oxigraph/oxigraph/actions/runs/3075557229/jobs/4970230508
Or:
git clone --recursive https://github.com/oxigraph/oxigraph
maturin sdist -m python/Cargo.toml
pip install target/wheels/*.tar.gz
The text was updated successfully, but these errors were encountered: