Skip to content

Conversation

@simu
Copy link
Member

@simu simu commented Dec 18, 2025

We extend the dynamic field in pyproject.toml to ensure that the Python package is built with all the metadata defined in Cargo.toml.

The behavior of maturin has changed to omit metadata defined in Cargo.toml unless the corresponding pyproject.toml fields are specifed as dynamic, cf. PyO3/maturin#2672

Checklist

  • The PR has a meaningful title. The title will be used to auto generate the changelog
  • PR contains a single logical change (to build a better changelog).
  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency, internal
    as they show up in the changelog

… metadata

We extend the `dynamic` field in `pyproject.toml` to ensure that the
Python package is built with all the metadata defined in `Cargo.toml`.

The behavior of `maturin` has changed to omit metadata defined in
`Cargo.toml` unless the corresponding `pyproject.toml` fields are
specifed as `dynamic`, cf. PyO3/maturin#2672
@simu simu added the bug Something isn't working label Dec 18, 2025
@github-actions
Copy link

Benchmark for 05ff01b

Click to view benchmark
Test Base PR %
Reclass::inventory() multi-threaded 2.3±0.12ms 2.3±0.18ms 0.00%
Reclass::inventory() single-threaded 4.6±0.05ms 4.7±0.10ms +2.17%

@simu simu merged commit 02c36ac into main Dec 18, 2025
34 of 39 checks passed
@simu simu deleted the fix/python-package-metadata branch December 18, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants