Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-setuptools_scm for openSUSE:Factory checked in at 2023-09-06 18:55:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-setuptools_scm (Old) and /work/SRC/openSUSE:Factory/.python-setuptools_scm.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-setuptools_scm" Wed Sep 6 18:55:44 2023 rev:34 rq:1108959 version:7.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-setuptools_scm/python-setuptools_scm.changes 2023-05-19 11:55:36.671294003 +0200 +++ /work/SRC/openSUSE:Factory/.python-setuptools_scm.new.1766/python-setuptools_scm.changes 2023-09-06 18:56:26.515812786 +0200 @@ -1,0 +2,5 @@ +Mon Sep 4 22:23:27 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- add setuptools-68.patch to fix tests with newer setuptools + +------------------------------------------------------------------- New: ---- setuptools-68.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-setuptools_scm.spec ++++++ --- /var/tmp/diff_new_pack.TQtBSF/_old 2023-09-06 18:56:27.927863123 +0200 +++ /var/tmp/diff_new_pack.TQtBSF/_new 2023-09-06 18:56:27.931863266 +0200 @@ -33,6 +33,8 @@ License: MIT URL: https://github.com/pypa/setuptools_scm Source: https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools_scm-%{version}.tar.gz +# PATCH-FIX-UPSTREAM: https://github.com/pypa/setuptools_scm/pull/867 +Patch1: setuptools-68.patch BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module packaging >= 20.0} BuildRequires: %{python_module pip} ++++++ setuptools-68.patch ++++++ >From acb8a720bd6a74152bcd34401552221cc63e3817 Mon Sep 17 00:00:00 2001 From: Stanislav Levin <s...@altlinux.org> Date: Thu, 22 Jun 2023 15:36:48 +0300 Subject: [PATCH] tests: Specify version for test PEP621 metadata According to today's specification https://packaging.python.org/en/latest/specifications/declaring-project-metadata/#specification > The only keys required to be statically defined are: - name The keys which are required but may be specified either statically or listed as dynamic are: - version Fixes: https://github.com/pypa/setuptools_scm/issues/866 Signed-off-by: Stanislav Levin <s...@altlinux.org> --- testing/test_integration.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/test_integration.py b/testing/test_integration.py index 98442724..c8bfc150 100644 --- a/testing/test_integration.py +++ b/testing/test_integration.py @@ -56,7 +56,8 @@ def test_pyproject_support(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> N "[tool.setuptools_scm]\ndist_name='setuptools_scm_example'" ), "pyproject.project": ( - "[project]\nname='setuptools_scm_example'\n[tool.setuptools_scm]" + "[project]\nname='setuptools_scm_example'\n" + "dynamic=['version']\n[tool.setuptools_scm]" ), }