From d91b8483667c73b08b2053f9d03b673bf0f80a2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kl=C3=B6tzke?= Date: Tue, 12 Jul 2022 21:30:30 +0200 Subject: [PATCH] setup: fix Python 3.6 build Even though Python 3.6 is EOL we still want to support it because Ubuntu 18.04 LTS is still supported. Work around the build problems by staying on the last supported setuptools_scm version. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ffa730b99..ada0f0fd3 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,8 @@ class build(build_orig): # Installation time dependencies only needed by setup.py setup_requires = [ - 'setuptools_scm', # automatically get package version + 'setuptools_scm<7', # automatically get package version + # TODO: remove constraint when Python 3.7 is required ] # Stub class that acts as a proxy for the real sphinx.setup_command.BuildDoc