From 59b2662f7680b9b7e4c580736fa7f0620d6e5b44 Mon Sep 17 00:00:00 2001 From: Simon Gerber Date: Mon, 30 Dec 2024 13:28:14 +0100 Subject: [PATCH] Mark `version` as dynamic in `pyproject.toml` 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 https://github.com/PyO3/maturin/issues/2390 for the maturin issue to adhere to the spec. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index bd0c589..ae5a199 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,7 @@ classifiers = [ "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] +dynamic = ["version"] [tool.maturin]