Sync from SUSE:SLFO:Main python-virtualenv revision 0b6b20003859d743eeaf19d9bfd9f313

This commit is contained in:
Adrian Schröter 2024-12-04 09:24:15 +01:00
parent 727334f71d
commit ffec2c00fa
4 changed files with 36 additions and 10 deletions

View File

@ -1,8 +1,32 @@
-------------------------------------------------------------------
Wed Oct 30 08:09:03 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>
- 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 <steven.kowalik@suse.com>
- Inject setuptools-wheel and tell the testsuite where to find it.
-------------------------------------------------------------------
Sat Jun 29 12:43:58 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 20.26.3:
* Bump embeded wheels
* Bump embeded wheels
-------------------------------------------------------------------
Mon Jun 10 08:58:41 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -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

BIN
virtualenv-20.26.3.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
virtualenv-20.27.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.