From 6ddd8d84c82d4a1fa755e34cf3b79c7b754e20fd0aeb1ae6d50c5e20709e51b1 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 11 May 2023 06:54:39 +0000 Subject: [PATCH] Accepting request 1086139 from home:bnavigator:branches:devel:languages:python - Reinstate tomli requirement for Python < 3.11 OBS-URL: https://build.opensuse.org/request/show/1086139 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=73 --- python-setuptools_scm.changes | 5 +++++ python-setuptools_scm.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-setuptools_scm.changes b/python-setuptools_scm.changes index 448af3e..76b4e19 100644 --- a/python-setuptools_scm.changes +++ b/python-setuptools_scm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 10 23:05:26 UTC 2023 - Ben Greiner + +- Reinstate tomli requirement for Python < 3.11 + ------------------------------------------------------------------- Wed May 10 06:24:15 UTC 2023 - Dirk Müller diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index 4333a7f..1dd3b8f 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -47,6 +47,9 @@ Requires: python-typing-extensions %if 0%{?python_version_nodots} < 38 Requires: python-importlib-metadata %endif +%if 0%{?python_version_nodots} < 311 +Requires: python-tomli >= 1 +%endif BuildArch: noarch %if %{with test} # Testing requirements