Skip to content

Commit

Permalink
pyproject.toml: Allow maturin >= 1.8.0 to fill the version
Browse files Browse the repository at this point in the history
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
  • Loading branch information
heirecka committed Dec 28, 2024
1 parent fcc8280 commit e4936cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ build-backend = "maturin"

[project]
name = "jellyfish"
dynamic = ["version"]
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Rust",
Expand Down

0 comments on commit e4936cc

Please sign in to comment.