mondeja / md-ulb-pwrap

Markdown paragraph wrapper using Unicode Line Breaking Algorithm written in Rust with Python bindings.
MIT License
0 stars 0 forks source link

Cargo-related error when installing md-ulb-pwrap in #5

Closed bentimms closed 3 months ago

bentimms commented 3 months ago

Adding md-ulb-pwrap to my requirements.txt results in a build error for the docker container (Python 3.9 / Alpine):

11.80       💥 maturin failed
11.80         Caused by: Failed to parse Cargo.toml into python metadata
11.80         Caused by: Failed to read Readme specified in Cargo.toml, which should be at /tmp/pip-install-ucxi5k_3/md-ulb-pwrap_42f266a64a2f4fd885e2bcd6c58af045/../README.md
11.80         Caused by: failed to open file `/tmp/pip-install-ucxi5k_3/md-ulb-pwrap_42f266a64a2f4fd885e2bcd6c58af045/../README.md`
11.80         Caused by: No such file or directory (os error 2)
11.80       Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-x2se7juk', '--interpreter', '/usr/local/bin/python']' returned non-zero exit status 1

Apologies if I'm doing something wrong!

mondeja commented 3 months ago

Thanks for the report. It's fixed in v0.1.1.