From a1b4186e427634b6493361b41e8d00865fb19206ece2117f4e74e1bcb5122a4d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 25 Oct 2022 18:57:15 +0000 Subject: [PATCH] - Remove python2-related parts of the SPEC file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=90 --- python-tox.changes | 5 +++++ python-tox.spec | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/python-tox.changes b/python-tox.changes index c1fa33b..ac02125 100644 --- a/python-tox.changes +++ b/python-tox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 25 18:56:42 UTC 2022 - Matej Cepl + +- Remove python2-related parts of the SPEC file. + ------------------------------------------------------------------- Wed Oct 12 16:26:45 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-tox.spec b/python-tox.spec index fe4372b..4c8b0ca 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -16,8 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 Name: python-tox Version: 3.26.0 Release: 0 @@ -68,9 +66,6 @@ BuildRequires: %{python_module pytest >= 4.0.0} BuildRequires: %{python_module pytest-mock >= 1.10.0} BuildRequires: %{python_module pytest-randomly >= 1.0.0} BuildRequires: %{python_module pytest-xdist >= 1.22.2} -%if %{with python2} -BuildRequires: python-pathlib2 >= 2.3.3 -%endif # /SECTION %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" Provides: tox = %{version} @@ -118,10 +113,6 @@ donttest+=" or test_different_config_cwd" donttest+=" or test_toxuone_env" donttest+=" or test_isolated_build_backend_missing_hook" donttest+=" or test_parallel_live or (test_parallel and not test_parallel_)" -%if %{with python2} -# wants to install pathlib2 wheel on python2 -donttest+=" or test_build_backend_without_submodule" -%endif %{python_expand # tests expect an active virtualenv with a clean python name as sys.executable virtualenv-%{$python_bin_suffix} --system-site-packages testenv-%{$python_bin_suffix}