From 4d7949ae1e4dd9e71fb9246baac3b32d8daa34d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 Sep 2023 15:00:06 +0200 Subject: [PATCH] Stop deselecting a test that was removed upstream --- python-setuptools_scm.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index 03f8301..e5735d4 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -20,9 +20,10 @@ BuildRequires: git-core BuildRequires: mercurial %endif # Manually listed test dependencies from tox.ini, to avoid pulling tox into RHEL -# Omit virtualenv, used only for test_distlib_setuptools_works skipped below (requires internet) BuildRequires: python3dist(pytest) BuildRequires: python3dist(setuptools) >= 45 +# virtualenv omitted, see https://github.com/pypa/setuptools_scm/pull/940 +# rich omitted, pulled in as build-backend dependency %endif %description @@ -60,8 +61,8 @@ It also handles file finders for the supported SCMs. %if %{with tests} %check -# Both of the skipped tests try to download from the internet -%pytest -v -k 'not test_pip_download and not test_distlib_setuptools_works' +# Skipped test tries to download from the internet +%pytest -v -k 'not test_pip_download' %endif