Skip to content

Conversation

mhils
Copy link
Contributor

@mhils mhils commented Dec 30, 2024

This PR implements the changes discussed in #2416 (comment) on top of #2417. Got this done faster than expected this morning, but won't have any time to incorporate feedback for the next ~ two days. Feel free to pull this in and butcher it any way you like. :)

Thanks again for your fantastic work on maturin! 🍰

@messense messense merged commit cd7828f into PyO3:main Dec 30, 2024
33 of 37 checks passed
@messense
Copy link
Member

Thanks!

amorenoz added a commit to amorenoz/retis that referenced this pull request Jul 2, 2025
According to the schema of `pyproject.toml` [1] `project.version` must
be specified or marked as dynamic.

Maturin has started to nag (making "develop" fail) [2][3][4] if it's not
the case.

Since maturin gets the version from Cargo.toml anyway, mark it as
dynamic.

[1] https://json.schemastore.org/pyproject.json
[2] PyO3/maturin#2417
[3] PyO3/maturin#2416
[4] PyO3/maturin#2418

Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
amorenoz added a commit to amorenoz/retis that referenced this pull request Jul 11, 2025
According to the schema of `pyproject.toml` [1] `project.version` must
be specified or marked as dynamic.

Maturin has started to nag [2][3][4] if it's not the case, making
"maturin develop" executions fail.

Since maturin gets the version from Cargo.toml anyway, mark it as
dynamic.

[1] https://json.schemastore.org/pyproject.json
[2] PyO3/maturin#2417
[3] PyO3/maturin#2416
[4] PyO3/maturin#2418

Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
amorenoz added a commit to amorenoz/retis that referenced this pull request Jul 11, 2025
According to the schema of `pyproject.toml` [1] `project.version` must
be specified or marked as dynamic.

Maturin has started to nag [2][3][4] if it's not the case, making
"maturin develop" executions fail.

Since maturin gets the version from Cargo.toml anyway, mark it as
dynamic.

[1] https://json.schemastore.org/pyproject.json
[2] PyO3/maturin#2417
[3] PyO3/maturin#2416
[4] PyO3/maturin#2418

Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
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.

2 participants