From e4cc0034f70c1c5236ae102759e49e9dff5807b8 Mon Sep 17 00:00:00 2001 From: Joao Moura Date: Thu, 26 Dec 2024 10:25:09 +0000 Subject: [PATCH] Test conditional requirements --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a8998588..bdb4ce7a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,8 @@ [build-system] -requires = ["setuptools == 68.2.2"] +requires = [ + "setuptools==68.2.2; python_version>='3.8'", + "setuptools>=61.0; python_version<'3.8'" +] build-backend = "setuptools.build_meta" [project]