Closed mhils closed 1 month ago
What is ETA for this? (no pressure intended)
Thank you, @konstin! ๐ ๐ฐ
I managed to run into this issue running on the bug-fixed v1.7.5
Found maturin version requirement maturin>=1.0,<2.0 specified in pyproject.toml
Found maturin release from manifest: v1.7.5
...
๐ฅ maturin failed
Caused by: Failed to build source distribution
Caused by: File whittaker_eilers-0.2.0/README.md was already added from /home/runner/work/whittaker-eilers/whittaker-eilers/README.md, can't added it from /home/runner/work/whittaker-eilers/whittaker-eilers/whittaker-eilers-py/README.md
I reverted back to v1.6.0 and it was working once again.
I did double check and this issue was fixed in #2262 and mentioned in the v1.7.5 release but it seems like the issue is still present.
I also encounter this issue with version v1.7.5 if I have
[project]
readme = "README.md"
in the pyproject.toml
.
Bug Description
With a README file both in the workspace root and the crate root:
building a source distribution fails:
Cargo.toml, mitmproxy-rs/Cargo.toml, and mitmproxy-rs/pyproject.toml do not specify any (custom) settings w.r.t. READMEs. I would have expected maturin to use
mitmproxy-rs/README.md
and notREADME.md
.This is a regression that started in 1.7.1. Refs https://github.com/PyO3/maturin/pull/2184 and https://github.com/PyO3/maturin/issues/2154.
Your maturin version (
maturin --version
)1.7.4
Your Python version (
python -V
)3.12
Your pip version (
pip -V
)all
What bindings you're using
pyo3
Does
cargo build
work?