From cd5720e37661478f0ea165ef10e9c616ccdb77f2 Mon Sep 17 00:00:00 2001 From: Simon Gerber Date: Thu, 18 Dec 2025 14:38:37 +0100 Subject: [PATCH] Update pyproject.toml `dynamic` entries to ensure full Python package 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. https://github.com/PyO3/maturin/pull/2672 --- pyproject.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f210a0c..7dcf3a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,15 @@ classifiers = [ "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] -dynamic = ["version"] +dynamic = [ + "authors", + "description", + "keywords", + "license", + "readme", + "urls", + "version", +] [tool.maturin]