From 69f47513ee7ca8064d63e8b8ce6022fa91cfd58d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sviatoslav=20Sydorenko=20=28=D0=A1=D0=B2=D1=8F=D1=82=D0=BE?= =?UTF-8?q?=D1=81=D0=BB=D0=B0=D0=B2=20=D0=A1=D0=B8=D0=B4=D0=BE=D1=80=D0=B5?= =?UTF-8?q?=D0=BD=D0=BA=D0=BE=29?= Date: Thu, 18 Jan 2024 18:26:34 +0100 Subject: [PATCH] Make `setuptools-scm` build dep unconditional --- pyproject.toml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 29d4949d0..9ccc99803 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,12 +10,7 @@ requires = [ "tomli; python_version < '3.11'", # needed by in-tree build backend `packaging/pep517_backend.py` # Plugins - "setuptools-scm >= 7.0.0; python_version >= '3.7'", - # ^ supports git archives through a plugin - # | | - # supports git archives natively V - "setuptools-scm[toml] >= 3.5, < 7.0.0; python_version < '3.7'", - "setuptools-scm-git-archive >= 1.1; python_version < '3.7'", + "setuptools-scm >= 7.0.0", ] backend-path = ["packaging"] # requires 'Pip>=20' or 'pep517>=0.6.0' build-backend = "pep517_backend.hooks"