Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maturin breaks with version 0.12.7 and 0.12.8 due to inexistent pyproject.toml #805

Closed
2 tasks
tropxy opened this issue Feb 9, 2022 · 2 comments · Fixed by #806
Closed
2 tasks

maturin breaks with version 0.12.7 and 0.12.8 due to inexistent pyproject.toml #805

tropxy opened this issue Feb 9, 2022 · 2 comments · Fixed by #806
Labels
bug Something isn't working

Comments

@tropxy
Copy link

tropxy commented Feb 9, 2022

Bug Description

maturin breaks, because expects a pyproject.toml

	  maturin build \
	  -i /tmp/python3/bin/python3 \
	  --target=armv7-unknown-linux-gnueabihf"
💥 maturin failed
  Caused by: pyproject.toml is invalid
  Caused by: Couldn't find pyproject.toml at /project/pyproject.toml
  Caused by: No such file or directory (os error 2)
make: *** [build] Error 1

If maturin v0.12.6 is used, the problem does not occur

Your Python version (python -V)

Tested with Python 3.8.2 and Python 3.10

Your pip version (pip -V)

pip 21.1.3

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 /)?

  • Yes

Steps to Reproduce

  1. install maturin 0.12.8
  2. run maturin build
@tropxy tropxy added the bug Something isn't working label Feb 9, 2022
@messense
Copy link
Member

messense commented Feb 9, 2022

Do you have a reproducible project?

@tropxy
Copy link
Author

tropxy commented Feb 9, 2022

Do you have a reproducible project?

Sorry, just saw this now. And I also see you have already merged a solution, thanks ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants