From c600a4abfc789ad1806f293fa478e1f445323083ff240271852bc1e72e378671 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 10 May 2023 06:27:33 +0000 Subject: [PATCH 1/2] - update to 7.1.0: * use tomllib from stdlib * handle non-ascii in setup.cfg * implement fallback file finders for archives * removed coding header in python template * declared Python 3.11 support * update .git_archival.txt templates match * git-describe invocation * fix handling of .git-archival.txt from tagged commit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=72 --- python-setuptools_scm.changes | 14 ++++++++++++++ python-setuptools_scm.spec | 5 ++--- setuptools_scm-7.0.5.tar.gz | 3 --- setuptools_scm-7.1.0.tar.gz | 3 +++ 4 files changed, 19 insertions(+), 6 deletions(-) delete mode 100644 setuptools_scm-7.0.5.tar.gz create mode 100644 setuptools_scm-7.1.0.tar.gz diff --git a/python-setuptools_scm.changes b/python-setuptools_scm.changes index 98fd498..448af3e 100644 --- a/python-setuptools_scm.changes +++ b/python-setuptools_scm.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed May 10 06:24:15 UTC 2023 - Dirk Müller + +- update to 7.1.0: + * use tomllib from stdlib + * handle non-ascii in setup.cfg + * implement fallback file finders for archives + * removed coding header in python template + * declared Python 3.11 support + * update .git_archival.txt templates match + * git-describe invocation + * fix handling of .git-archival.txt from tagged + commit + ------------------------------------------------------------------- Fri Apr 21 12:33:55 UTC 2023 - Dirk Müller diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index 1120876..4333a7f 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -27,7 +27,7 @@ %{?sle15_python_module_pythons} Name: python-setuptools_scm%{psuffix} -Version: 7.0.5 +Version: 7.1.0 Release: 0 Summary: Python setuptools handler for SCM tags License: MIT @@ -43,7 +43,6 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-packaging >= 20.0 Requires: python-setuptools -Requires: python-tomli >= 1.0.0 Requires: python-typing-extensions %if 0%{?python_version_nodots} < 38 Requires: python-importlib-metadata @@ -53,7 +52,7 @@ BuildArch: noarch # Testing requirements BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm = %{version}} -BuildRequires: %{python_module virtualenv} +BuildRequires: %{python_module virtualenv > 20} BuildRequires: git-core BuildRequires: mercurial %endif diff --git a/setuptools_scm-7.0.5.tar.gz b/setuptools_scm-7.0.5.tar.gz deleted file mode 100644 index 60c51b9..0000000 --- a/setuptools_scm-7.0.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:031e13af771d6f892b941adb6ea04545bbf91ebc5ce68c78aaf3fff6e1fb4844 -size 70716 diff --git a/setuptools_scm-7.1.0.tar.gz b/setuptools_scm-7.1.0.tar.gz new file mode 100644 index 0000000..ba92fec --- /dev/null +++ b/setuptools_scm-7.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c508345a771aad7d56ebff0e70628bf2b0ec7573762be9960214730de278f27 +size 71904 From 6ddd8d84c82d4a1fa755e34cf3b79c7b754e20fd0aeb1ae6d50c5e20709e51b1 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 11 May 2023 06:54:39 +0000 Subject: [PATCH 2/2] 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