Skip to content

Commit

Permalink
Merge pull request #467 from light-curve/fix-dynamic-version
Browse files Browse the repository at this point in the history
Fix pyproject.toml [project.dynamic]
  • Loading branch information
hombit authored Jan 7, 2025
2 parents b32730c + cba7838 commit 09c3b9a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

--
- `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

### Security

Expand Down
18 changes: 8 additions & 10 deletions light-curve/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ classifiers = [
"Programming Language :: Rust",
"Topic :: Scientific/Engineering :: Astronomy",
]
# We load these from Cargo.toml
dynamic = [
"authors",
"description",
"license",
"readme",
"version",
]

[project.optional-dependencies]
# Packages required by some experimental features
Expand Down Expand Up @@ -55,16 +63,6 @@ dev = [
"ruff",
]

[tool.setuptools]
# We load these from Cargo.toml
dynamic = [
"authors",
"description",
"license",
"readme",
"version",
]

[tool.maturin]
# It asks to use Cargo.lock to make the build reproducible
locked = true
Expand Down

0 comments on commit 09c3b9a

Please sign in to comment.