From e76683e8030c2139d1baeb895cccd8b6b8a09f9b0b4093884f7449747666a1ab Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 21 Nov 2024 11:50:30 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=274 --- python-setuptools.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python-setuptools.spec b/python-setuptools.spec index b357e9c..36b5250 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -51,6 +51,7 @@ BuildRequires: %{python_module filelock >= 3.4.0} BuildRequires: %{python_module ini2toml-lite >= 0.14} BuildRequires: %{python_module jaraco.develop >= 7.21} BuildRequires: %{python_module jaraco.envs >= 2.2} +BuildRequires: %{python_module jaraco.packaging >= 9.3} BuildRequires: %{python_module jaraco.path >= 3.2.0} BuildRequires: %{python_module jaraco.test >= 5.5} BuildRequires: %{python_module packaging >= 24.2} @@ -121,15 +122,15 @@ export LANG=en_US.UTF-8 export PIP_FIND_LINKS=$PWD/dist # tests need imports from local source dir export PYTHONPATH=$(pwd) -# no online comparisons in obs -donttest="(test_apply_pyproject_equivalent_to_setupcfg and https)" # test_pbr_integration tries to install pbr from network using pip -donttest+=" or test_pbr_integration" +donttest=" test_pbr_integration" # looks for .exe files that we do not ship donttest+=" or test_wheel_includes_cli_scripts" # ignores environment variables donttest+=" or test_setup_requires_with_distutils_command_dep" donttest+=" or test_setup_requires_with_transitive_extra_dependency" +# skip tests that require network access +donttest+=" or uses_network" %pytest -rfE -n auto -k "not ($donttest)" %endif