Skip to content

Commit

Permalink
Mark version as dynamic in pyproject.toml
Browse files Browse the repository at this point in the history
We need to set `dynamic = ["version"]` in `pyproject.toml`, since the
spec requires that required fields must be listed in `dynamic` if
they're to be provided by the build backend (maturin for us).

See PyO3/maturin#2390 for the maturin issue
to adhere to the spec.
  • Loading branch information
simu committed Dec 30, 2024
1 parent 3c5208c commit 59b2662
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 @@ -10,6 +10,7 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = ["version"]


[tool.maturin]
Expand Down

0 comments on commit 59b2662

Please sign in to comment.