Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-virtualenv for openSUSE:Factory checked in at 2024-10-16 23:35:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-virtualenv (Old) and /work/SRC/openSUSE:Factory/.python-virtualenv.new.19354 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-virtualenv" Wed Oct 16 23:35:57 2024 rev:68 rq:1208017 version:20.26.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-virtualenv/python-virtualenv.changes 2024-07-01 11:19:21.728856792 +0200 +++ /work/SRC/openSUSE:Factory/.python-virtualenv.new.19354/python-virtualenv.changes 2024-10-16 23:36:12.394590400 +0200 @@ -1,0 +2,5 @@ +Tue Oct 15 05:34:07 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Inject setuptools-wheel and tell the testsuite where to find it. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-virtualenv.spec ++++++ --- /var/tmp/diff_new_pack.EikTy8/_old 2024-10-16 23:36:15.214708026 +0200 +++ /var/tmp/diff_new_pack.EikTy8/_new 2024-10-16 23:36:15.218708193 +0200 @@ -53,6 +53,7 @@ BuildRequires: %{python_module pytest-mock >= 3.11.1} BuildRequires: %{python_module pytest-timeout >= 2.1} BuildRequires: %{python_module setuptools >= 68} +BuildRequires: %{python_module setuptools-wheel >= 68} BuildRequires: %{python_module time-machine >= 2.10} BuildRequires: %{python_module virtualenv = %{version}} %endif @@ -105,13 +106,14 @@ %check # online tests downloads from pypi donttest="test_seed_link_via_app_data" -# fails on python312 because it cannot find setuptools and wheel https://virtualenv.pypa.io/en/latest/changelog.html#features-20-23-0 -python312_extratest=" or test_can_build_c_extensions" -%pytest -k "not ($donttest ${$python_extratest})" +# take the first wheels directory we can find, they all contain the same file +export PIP_FIND_LINKS=$(ls -1d /usr/lib/python3.*/wheels | head -n 1) +%pytest -k "not ($donttest)" # test the special case with the bundles (for all flavors) export VIRTUALENV_SETUPTOOLS=bundle export VIRTUALENV_WHEEL=bundle -%pytest -k "${python312_extratest:4}" +donttest+=" or test_embed_wheel_versions" +%pytest -k "not ($donttest)" %endif %post @@ -125,7 +127,7 @@ %license LICENSE %doc README.md %{python_sitelib}/virtualenv -%{python_sitelib}/virtualenv-%{version}*-info +%{python_sitelib}/virtualenv-%{version}.dist-info %python_alternative %{_bindir}/virtualenv %endif