From ffec2c00fa26b8b0e1acc81b1d7852c2fefb97ff3366414d998d0eb469e7d0ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 4 Dec 2024 09:24:15 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main python-virtualenv revision 0b6b20003859d743eeaf19d9bfd9f313 --- python-virtualenv.changes | 26 +++++++++++++++++++++++++- python-virtualenv.spec | 14 ++++++++------ virtualenv-20.26.3.tar.gz | 3 --- virtualenv-20.27.1.tar.gz | 3 +++ 4 files changed, 36 insertions(+), 10 deletions(-) delete mode 100644 virtualenv-20.26.3.tar.gz create mode 100644 virtualenv-20.27.1.tar.gz diff --git a/python-virtualenv.changes b/python-virtualenv.changes index efb112b..4243c9e 100644 --- a/python-virtualenv.changes +++ b/python-virtualenv.changes @@ -1,8 +1,32 @@ +------------------------------------------------------------------- +Wed Oct 30 08:09:03 UTC 2024 - Dirk Müller + +- update to 20.27.1: + * Drop 3.7 support as the CI environments no longer allow it running + * pip to 24.3.1 from 24.2 + +------------------------------------------------------------------- +Thu Oct 17 15:15:49 UTC 2024 - Dirk Müller + +- update to 20.26.6: + * Properly quote string placeholders in activation script + templates to mitigate potential command injection - by + @y5c4l3. (#2768, in the Python stdlib known as bsc#1232241, + CVE-2024-9287) + * Upgrade embedded wheels: setuptools to 75.1.0 from 74.1.2 + * no longer create () output in console during activation of a + virtualenv by .bat file. (#2728) + +------------------------------------------------------------------- +Tue Oct 15 05:34:07 UTC 2024 - Steve Kowalik + +- Inject setuptools-wheel and tell the testsuite where to find it. + ------------------------------------------------------------------- Sat Jun 29 12:43:58 UTC 2024 - Dirk Müller - update to 20.26.3: - * Bump embeded wheels + * Bump embeded wheels ------------------------------------------------------------------- Mon Jun 10 08:58:41 UTC 2024 - Dirk Müller diff --git a/python-virtualenv.spec b/python-virtualenv.spec index 388021d..50c0971 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -27,7 +27,7 @@ %{?sle15_python_module_pythons} Name: python-virtualenv%{psuffix} -Version: 20.26.3 +Version: 20.27.1 Release: 0 Summary: Virtual Python Environment builder License: MIT @@ -53,6 +53,7 @@ BuildRequires: %{python_module pytest-env >= 0.8.2} 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 @@ rm -r tests/unit/activation %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 @@ export VIRTUALENV_WHEEL=bundle %license LICENSE %doc README.md %{python_sitelib}/virtualenv -%{python_sitelib}/virtualenv-%{version}*-info +%{python_sitelib}/virtualenv-%{version}.dist-info %python_alternative %{_bindir}/virtualenv %endif diff --git a/virtualenv-20.26.3.tar.gz b/virtualenv-20.26.3.tar.gz deleted file mode 100644 index 1bf5f58..0000000 --- a/virtualenv-20.26.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4c43a2a236279d9ea36a0d76f98d84bd6ca94ac4e0f4a3b9d46d05e10fea542a -size 9057588 diff --git a/virtualenv-20.27.1.tar.gz b/virtualenv-20.27.1.tar.gz new file mode 100644 index 0000000..06e642b --- /dev/null +++ b/virtualenv-20.27.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:142c6be10212543b32c6c45d3d3893dff89112cc588b7d0879ae5a1ec03a47ba +size 6491145