From e4936cc884e39288cd24b4963a1013f59e365e5a Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Sat, 28 Dec 2024 21:07:17 +0100 Subject: [PATCH] pyproject.toml: Allow maturin >= 1.8.0 to fill the version maturin >= 1.8.0 stopped filling the version from Cargo.toml, because the spec only allows this, when the metadata key is listed in `dynamic` [1][2]. Fixes #224. [1] https://packaging.python.org/en/latest/specifications/pyproject-toml/#dynamic [2] https://github.com/PyO3/maturin/issues/2390 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 95c7d84..f78c847 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,7 @@ build-backend = "maturin" [project] name = "jellyfish" +dynamic = ["version"] requires-python = ">=3.8" classifiers = [ "Programming Language :: Rust",