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

pyproject.toml: Allow maturin >= 1.8.0 to fill the version #226

Merged

Conversation

heirecka
Copy link
Contributor

maturin >= 1.8.0 stopped filling the version from Cargo.toml, because the spec only allows this, when the metadata key is listed in dynamic [1][2].

Fixes #224.

[1] https://packaging.python.org/en/latest/specifications/pyproject-toml/#dynamic
[2] PyO3/maturin#2390

maturin >= 1.8.0 stopped filling the version from Cargo.toml, because
the spec only allows this, when the metadata key is listed in
`dynamic` [1][2].

Fixes jamesturk#224.

[1] https://packaging.python.org/en/latest/specifications/pyproject-toml/#dynamic
[2] PyO3/maturin#2390
@wu7zh wu7zh mentioned this pull request Dec 28, 2024
@jamesturk jamesturk merged commit dce22ae into jamesturk:main Dec 31, 2024
25 checks passed
@jamesturk
Copy link
Owner

thank you!

@heirecka heirecka deleted the allow-maturin-1-8-0-fill-the-version branch January 2, 2025 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build fails with maturin 1.8.0
2 participants