From f5960393e16c473e1369ee65587705d16e434f23e57a5e8e67cc2eeccceb63a2 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Thu, 16 Mar 2023 07:06:44 +0000 Subject: [PATCH] - Disable broken tests with latest setuptools, gh#pytest-dev/pytest#10815 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=109 --- python-pytest.changes | 6 ++++++ python-pytest.spec | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-pytest.changes b/python-pytest.changes index 5795917..0c16c86 100644 --- a/python-pytest.changes +++ b/python-pytest.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 16 07:06:13 UTC 2023 - Daniel Garcia + +- Disable broken tests with latest setuptools, + gh#pytest-dev/pytest#10815 + ------------------------------------------------------------------- Wed Jan 4 10:15:15 UTC 2023 - Daniel Garcia diff --git a/python-pytest.spec b/python-pytest.spec index ee78f04..c7ceec0 100644 --- a/python-pytest.spec +++ b/python-pytest.spec @@ -109,7 +109,9 @@ sed -i '/pytest.mark.xfail(reason="#10042")/d' testing/test_debugging.py %check %if %{with test} -%pytest -n auto +# Disable broken tests with latest setuptools, gh#pytest-dev/pytest#10815 +donttest="test_cmdline_python_namespace_package or test_syspath_prepend_with_namespace_packages" +%pytest -n auto -k "not ($donttest)" %endif %if ! %{with test}