Hello community,
here is the log from the commit of package python-setuptools_scm for
openSUSE:Factory checked in at 2019-11-04 17:13:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setuptools_scm (Old)
and /work/SRC/openSUSE:Factory/.python-setuptools_scm.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-setuptools_scm"
Mon Nov 4 17:13:57 2019 rev:25 rq:744684 version:3.3.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-setuptools_scm/python-setuptools_scm.changes
2019-07-30 13:01:25.114437464 +0200
+++
/work/SRC/openSUSE:Factory/.python-setuptools_scm.new.2990/python-setuptools_scm.changes
2019-11-04 17:14:05.824754098 +0100
@@ -1,0 +2,6 @@
+Fri Nov 1 08:54:02 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update the add-rpmfail-pytest-markers.patch to not have
+ pin on old pytest
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-setuptools_scm.spec ++++++
--- /var/tmp/diff_new_pack.z44oVp/_old 2019-11-04 17:14:06.464754781 +0100
+++ /var/tmp/diff_new_pack.z44oVp/_new 2019-11-04 17:14:06.472754790 +0100
@@ -30,7 +30,6 @@
Release: 0
Summary: Python setuptools handler for SCM tags
License: MIT
-Group: Development/Languages/Python
URL: https://github.com/pypa/setuptools_scm
Source:
https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools_scm-%{version}.tar.gz
Patch0: add-rpmfail-pytest-markers.patch
@@ -42,7 +41,7 @@
%if %{with test}
# Testing requirements
BuildRequires: %{python_module pip}
-BuildRequires: %{python_module pytest < 4.0}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm = %{version}}
BuildRequires: git-core
%endif
@@ -70,7 +69,7 @@
%if %{with test}
%check
-%python_expand PYTHONPATH=%{$python_sitelib} py.test-%{$python_bin_suffix} -v
-k 'not (rpmfail_github_connect or test_mercurial or hg)'
+%pytest -k 'not (test_mercurial or hg)'
%endif
%if !%{with test}
++++++ add-rpmfail-pytest-markers.patch ++++++
--- /var/tmp/diff_new_pack.z44oVp/_old 2019-11-04 17:14:06.516754837 +0100
+++ /var/tmp/diff_new_pack.z44oVp/_new 2019-11-04 17:14:06.520754841 +0100
@@ -6,7 +6,7 @@
assert get_version(root=p.strpath, fallback_root=p.strpath) == "1.0"
[email protected]_github_connect
[email protected](reason="github connection")
@pytest.mark.issue(164)
def test_pip_download(tmpdir, monkeypatch):
monkeypatch.chdir(tmpdir)
@@ -18,14 +18,14 @@
)
[email protected]_github_connect
[email protected](reason="github connection")
def test_old_setuptools_fails(get_setuptools_packagedir):
packagedir = get_setuptools_packagedir("0.9.8")
with pytest.raises(subprocess.CalledProcessError):
check(packagedir, "0.9.8")
[email protected]_github_connect
[email protected](reason="github connection")
def test_old_setuptools_allows_with_warnings(get_setuptools_packagedir):
packagedir = get_setuptools_packagedir("0.9.8")
@@ -33,7 +33,7 @@
check(packagedir, "0.9.8", PYTHONWARNINGS="once::Warning")
[email protected]_github_connect
[email protected](reason="github connection")
def test_distlib_setuptools_works(get_setuptools_packagedir):
packagedir = get_setuptools_packagedir("12.0.1")
check(packagedir, "12.0.1")