Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 85fd1728f3 | |||
| c082ec20bc | |||
| 759d4d9b32 | |||
| a0a29a8810 |
@@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 12 11:27:00 UTC 2026 - Nico Krapp <nico.krapp@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.36.1 (fixes CVE-2026-22702, bsc#1256458)
|
||||||
|
* fix: resolve TOCTOU vulnerabilities in app_data and lock directory creation
|
||||||
|
- Update to 3.36.0
|
||||||
|
* fix: Prevent NameError when accessing _DISTUTILS_PATCH during file
|
||||||
|
overwrite
|
||||||
|
* Upgrade pip and fix 3.15 picking old wheel
|
||||||
|
* fix: wrong path on migrated venv
|
||||||
|
* test_too_many_open_files: assert on errno.EMFILE instead of strerror
|
||||||
|
* fix: update filelock dependency version to 3.20.1 to fix CVE CVE-2025-68146
|
||||||
|
* fix: resolve EncodingWarning in tox upgrade environment
|
||||||
|
* Fix Interpreter discovery bug wrt. Microsoft Store shortcut using Latin-1
|
||||||
|
* Add support for PEP 440 version specifiers in the --python flag
|
||||||
|
- disable test that is broken upstream
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 26 09:28:27 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 30 07:54:04 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
Sun Mar 30 07:54:04 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-virtualenv
|
# spec file for package python-virtualenv
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2026 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -24,27 +24,33 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-virtualenv%{psuffix}
|
Name: python-virtualenv%{psuffix}
|
||||||
Version: 20.29.3
|
Version: 20.36.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Virtual Python Environment builder
|
Summary: Virtual Python Environment builder
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://virtualenv.pypa.io/
|
URL: https://virtualenv.pypa.io/
|
||||||
# SourceRepository: https://github.com/pypa/virtualenv
|
# SourceRepository: https://github.com/pypa/virtualenv
|
||||||
Source: https://files.pythonhosted.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: (python-distlib >= 0.3.7 with python-distlib < 1)
|
||||||
|
Requires: (python-filelock >= 3.20.3 with python-filelock < 4)
|
||||||
|
Requires: (python-platformdirs >= 3.9.1 with python-platformdirs < 5)
|
||||||
|
BuildArch: noarch
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
# Don't install the build requirements during testing, see setuptools_scm comment below
|
# Don't install the build requirements during testing, see setuptools_scm comment below
|
||||||
BuildRequires: %{python_module hatch-vcs >= 0.3}
|
BuildRequires: %{python_module hatch-vcs >= 0.3}
|
||||||
BuildRequires: %{python_module hatchling >= 1.17.1}
|
BuildRequires: %{python_module hatchling >= 1.17.1}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
%else
|
%else
|
||||||
# Conflict with setuptools_scm giving a warning, https://github.com/pypa/virtualenv/issues/2668
|
|
||||||
BuildConflicts: %{python_module setuptools_scm}
|
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module flaky >= 3.7}
|
BuildRequires: %{python_module flaky >= 3.7}
|
||||||
BuildRequires: %{python_module packaging >= 23.1}
|
BuildRequires: %{python_module packaging >= 23.1}
|
||||||
@@ -56,13 +62,16 @@ BuildRequires: %{python_module setuptools >= 68}
|
|||||||
BuildRequires: %{python_module setuptools-wheel >= 68}
|
BuildRequires: %{python_module setuptools-wheel >= 68}
|
||||||
BuildRequires: %{python_module time-machine >= 2.10}
|
BuildRequires: %{python_module time-machine >= 2.10}
|
||||||
BuildRequires: %{python_module virtualenv = %{version}}
|
BuildRequires: %{python_module virtualenv = %{version}}
|
||||||
|
# Conflict with setuptools_scm giving a warning, https://github.com/pypa/virtualenv/issues/2668
|
||||||
|
BuildConflicts: %{python_module setuptools_scm}
|
||||||
%endif
|
%endif
|
||||||
Requires: (python-distlib >= 0.3.7 with python-distlib < 1)
|
%if %{with libalternatives}
|
||||||
Requires: (python-filelock >= 3.12.2 with python-filelock < 4)
|
BuildRequires: alts
|
||||||
Requires: (python-platformdirs >= 3.9.1 with python-platformdirs < 5)
|
Requires: alts
|
||||||
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
%endif
|
||||||
%if 0%{python_version_nodots} < 38
|
%if 0%{python_version_nodots} < 38
|
||||||
Requires: python-importlib-metadata >= 6.6
|
Requires: python-importlib-metadata >= 6.6
|
||||||
%endif
|
%endif
|
||||||
@@ -106,16 +115,17 @@ rm -r tests/unit/activation
|
|||||||
%check
|
%check
|
||||||
# online tests downloads from pypi
|
# online tests downloads from pypi
|
||||||
donttest="test_seed_link_via_app_data"
|
donttest="test_seed_link_via_app_data"
|
||||||
|
donttest+=" or test_py_info_cache_invalidation_on_py_info_change" # https://github.com/pypa/virtualenv/issues/2939
|
||||||
# take the first wheels directory we can find, they all contain the same file
|
# 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)
|
export PIP_FIND_LINKS=$(ls -1d /usr/lib/python3.*/wheels | head -n 1)
|
||||||
%pytest -k "not ($donttest)"
|
%pytest -k "not ($donttest)"
|
||||||
# test the special case with the bundles (for all flavors)
|
|
||||||
export VIRTUALENV_SETUPTOOLS=bundle
|
|
||||||
export VIRTUALENV_WHEEL=bundle
|
|
||||||
donttest+=" or test_embed_wheel_versions"
|
donttest+=" or test_embed_wheel_versions"
|
||||||
%pytest -k "not ($donttest)"
|
%pytest -k "not ($donttest)"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative virtualenv
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative virtualenv
|
%python_install_alternative virtualenv
|
||||||
|
|
||||||
|
|||||||
BIN
virtualenv-20.29.3.tar.gz
LFS
BIN
virtualenv-20.29.3.tar.gz
LFS
Binary file not shown.
3
virtualenv-20.36.1.tar.gz
Normal file
3
virtualenv-20.36.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8befb5c81842c641f8ee658481e42641c68b5eab3521d8e092d18320902466ba
|
||||||
|
size 6032239
|
||||||
Reference in New Issue
Block a user