Python: Switch to `maturin`
Stranger6667 opened this issue ยท 3 comments
Stranger6667 commented
Our packaging setup is quite dated - maturin
will simplify a lot of things
Stranger6667 commented
I tried to do so and observed an error that is described in PyO3/maturin#1083:
โ maturin build --sdist
๐น Building a mixed python/rust project
๐ Found pyo3 bindings
๐ Found CPython 3.8 at /.../jsonschema/bin/python3
๐ฅ maturin failed
Caused by: Failed to build source distribution
Caused by: Failed to add local dependency json_schema_test_suite at /.../jsonschema/jsonschema-test-suite/Cargo.toml to the source distribution
Caused by: cargo metadata does not know about the path for dependencies.json_schema_test_suite_proc_macro present in /.../jsonschema/jsonschema-test-suite/Cargo.toml, which should never happen เฒ _เฒ
messense commented
Please try maturin v0.14.11: https://github.com/PyO3/maturin/releases/tag/v0.14.11
Stranger6667 commented
Thank you so much, @messense! It works indeed!