From 3c9dc27d8b0e5842d27a6a15f21a2ea4c7fa12e4 Mon Sep 17 00:00:00 2001 From: Mathieu Dupuy Date: Thu, 11 Apr 2024 12:05:22 +0200 Subject: [PATCH] build-requires setuptools for python >= 3.12 --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 64c0adda..a5beffc2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,5 +50,6 @@ pexpect = "^4.7" iredis = 'iredis.entry:main' [build-system] -requires = ["poetry-core>=1.0.0"] +# setuptools is needed for python 3.12 because of pendulum +requires = ["poetry-core>=1.0.0", "setuptools; python_version >= '3.12'"] build-backend = "poetry.core.masonry.api"