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