From bd3f6418e85ad7ad3f6bcee50e323e2c5f202d70 Mon Sep 17 00:00:00 2001 From: ric-evans Date: Mon, 29 Jul 2024 12:27:49 -0400 Subject: [PATCH] always add `requires-python` - test --- README.md | 1 + tests/test_pyproject_toml_builder.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4019e8b..853112c 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,7 @@ The following is autogenerated for the absolute minimal input (see [inputs](#inp [project] version = "1.2.3" name = "wipac-dev-tools" + requires-python = ">=3.8, <3.13" [tool.semantic_release] version_toml = ["pyproject.toml:project.version"] diff --git a/tests/test_pyproject_toml_builder.py b/tests/test_pyproject_toml_builder.py index 1aa8267..4c6b5d9 100644 --- a/tests/test_pyproject_toml_builder.py +++ b/tests/test_pyproject_toml_builder.py @@ -99,7 +99,7 @@ NO_PYPI_VANILLA_PROJECT_KEYVALS = { # even MORE vanilla than vanilla k: v for k, v in VANILLA_PROJECT_KEYVALS.items() - if k in ["dependencies", "version", "optional-dependencies"] + if k in ["dependencies", "version", "optional-dependencies", "requires-python"] }