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

Properly handle dynamic version in pyproject.toml #2391

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

messense
Copy link
Member

Fixes #2390

@messense messense merged commit 628eb72 into PyO3:main Dec 18, 2024
4 of 7 checks passed
@messense messense deleted the dynamic-version-metadata branch December 18, 2024 14:38
warthog9 added a commit to warthog9/luwen that referenced this pull request Dec 30, 2024
Maturin made a change to come inline more specifically with
pyproject.toml spec, unfortunately it's not a "backwards compatible"
change and was done with little fanfare or warning, and immediately
caused breakage outside distro's more plodding versions.

Maturin Issue: PyO3/maturin#2390
pyproject.toml spec: https://packaging.python.org/en/latest/specifications/pyproject-toml/#dynamic

change in Maturin committed here:

PyO3/maturin#2391

This commit superceeds the luwen PR here:

tenstorrent#11

as that sets an explicit version, and we don't want that as it adds more
sources of truth on the version (seriously there should be 1, and only
1).

Signed-off-by: John 'Warthog9' Hawley <[email protected]>
warthog9 added a commit to warthog9/luwen that referenced this pull request Dec 30, 2024
Maturin made a change to come inline more specifically with
pyproject.toml spec, unfortunately it's not a "backwards compatible"
change and was done with little fanfare or warning, and immediately
caused breakage outside distro's more plodding versions.

Maturin Issue: PyO3/maturin#2390
pyproject.toml spec: https://packaging.python.org/en/latest/specifications/pyproject-toml/#dynamic

change in Maturin committed here:

PyO3/maturin#2391

This commit superceeds the luwen PR here:

tenstorrent#11

as that sets an explicit version, and we don't want that as it adds more
sources of truth on the version (seriously there should be 1, and only
1).

Reported-by: Dongjin Na <[email protected]>
Signed-off-by: John 'Warthog9' Hawley <[email protected]>
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 should error if pyproject.toml does not contain (dynamic) version
1 participant