Skip to content

Commit cba7838

Browse files
committed
Fix pyproject.toml [project.dynamic]
1 parent e56b6a8 commit cba7838

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3535

3636
### Fixed
3737

38-
--
38+
- `pyproject.toml`: move `tool.setuptools.dynamic` to `project.dynamic` which fixes build with `maturin` v1.8.x https://github.com/light-curve/light-curve-python/pull/467
3939

4040
### Security
4141

light-curve/pyproject.toml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ classifiers = [
1919
"Programming Language :: Rust",
2020
"Topic :: Scientific/Engineering :: Astronomy",
2121
]
22+
# We load these from Cargo.toml
23+
dynamic = [
24+
"authors",
25+
"description",
26+
"license",
27+
"readme",
28+
"version",
29+
]
2230

2331
[project.optional-dependencies]
2432
# Packages required by some experimental features
@@ -55,16 +63,6 @@ dev = [
5563
"ruff",
5664
]
5765

58-
[tool.setuptools]
59-
# We load these from Cargo.toml
60-
dynamic = [
61-
"authors",
62-
"description",
63-
"license",
64-
"readme",
65-
"version",
66-
]
67-
6866
[tool.maturin]
6967
# It asks to use Cargo.lock to make the build reproducible
7068
locked = true

0 commit comments

Comments
 (0)