From d3d68a38d44e39a9dbacef5cefa89cef8caba6a8e7d4317ff010939e3f1f3f47 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 10 Oct 2022 09:42:39 +0000 Subject: [PATCH 1/2] - Update to vesion 20.16.5: - Do not turn echo off for subsequent commands in batch activators (activate.bat and deactivate.bat) - Bump embed setuptools to 65.3 - Upgrade embedded pip to 22.2.2 from 22.2.1 and setuptools to 63.4.1 from 63.2.0 - Bump embeded pip from 22.2 to 22.2.1 - Update Nushell activation scripts to version 0.67 - Drop support for running under Python 2 (still can generate Python 2 environments) - Upgrade embedded pip to 22.2 from 22.1.2 and setuptools to 63.2.0 from 62.6.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=117 --- python-virtualenv.changes | 16 ++++++++++++++++ python-virtualenv.spec | 2 +- virtualenv-20.15.1.tar.gz | 3 --- virtualenv-20.16.5.tar.gz | 3 +++ 4 files changed, 20 insertions(+), 4 deletions(-) delete mode 100644 virtualenv-20.15.1.tar.gz create mode 100644 virtualenv-20.16.5.tar.gz diff --git a/python-virtualenv.changes b/python-virtualenv.changes index 1db2484..a878e50 100644 --- a/python-virtualenv.changes +++ b/python-virtualenv.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon Oct 10 09:35:14 UTC 2022 - Matej Cepl + +- Update to vesion 20.16.5: + - Do not turn echo off for subsequent commands in batch + activators (activate.bat and deactivate.bat) + - Bump embed setuptools to 65.3 + - Upgrade embedded pip to 22.2.2 from 22.2.1 and setuptools to + 63.4.1 from 63.2.0 + - Bump embeded pip from 22.2 to 22.2.1 + - Update Nushell activation scripts to version 0.67 + - Drop support for running under Python 2 (still can generate + Python 2 environments) + - Upgrade embedded pip to 22.2 from 22.1.2 and setuptools to + 63.2.0 from 62.6.0 + ------------------------------------------------------------------- Sat Jul 9 14:09:31 UTC 2022 - Arun Persaud diff --git a/python-virtualenv.spec b/python-virtualenv.spec index 1243588..ed44002 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -28,7 +28,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-virtualenv%{psuffix} -Version: 20.15.1 +Version: 20.16.5 Release: 0 Summary: Virtual Python Environment builder License: MIT diff --git a/virtualenv-20.15.1.tar.gz b/virtualenv-20.15.1.tar.gz deleted file mode 100644 index cae7f83..0000000 --- a/virtualenv-20.15.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:288171134a2ff3bfb1a2f54f119e77cd1b81c29fc1265a2356f3e8d14c7d58c4 -size 13523736 diff --git a/virtualenv-20.16.5.tar.gz b/virtualenv-20.16.5.tar.gz new file mode 100644 index 0000000..60bdb81 --- /dev/null +++ b/virtualenv-20.16.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:227ea1b9994fdc5ea31977ba3383ef296d7472ea85be9d6732e42a91c04e80da +size 12223925 From 277328d8d565bf8cd53979d6be0a949af0760ccd184de0e6b2c56d153d69701d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 10 Oct 2022 11:33:04 +0000 Subject: [PATCH 2/2] Fix tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=118 --- python-virtualenv.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-virtualenv.spec b/python-virtualenv.spec index ed44002..5dd84a7 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -38,9 +38,11 @@ BuildRequires: %{python_module distlib >= 0.3.1} BuildRequires: %{python_module filelock >= 3.0.0} BuildRequires: %{python_module importlib-metadata >= 0.12 if %python-base < 3.8} BuildRequires: %{python_module importlib_resources >= 1.0 if %python-base < 3.7} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 41.0.0} BuildRequires: %{python_module setuptools_scm >= 2} BuildRequires: %{python_module six >= 1.9.0} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-backports.entry_points_selectable >= 1.0.4 @@ -66,7 +68,6 @@ Requires: python-pathlib2 >= 2.3.3 BuildRequires: %{python_module backports.entry_points_selectable >= 1.0.4} BuildRequires: %{python_module flaky >= 3} BuildRequires: %{python_module packaging >= 20.0} -BuildRequires: %{python_module pip} BuildRequires: %{python_module platformdirs >= 2} BuildRequires: %{python_module pytest >= 4.0.0} BuildRequires: %{python_module pytest-env >= 0.6.2} @@ -102,11 +103,11 @@ libraries either). rm -r tests/unit/activation %build -%python_build +%pyproject_wheel %install %if ! %{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/virtualenv %endif @@ -118,6 +119,8 @@ export PIP_CERT="%{_sysconfdir}/ssl/ca-bundle.pem" export PYTHONPATH=$PWD/src # online tests downloads from pypi donttest="test_seed_link_via_app_data" +# gh#pypa/virtualenv!2431 +donttest+=" or test_py_pyc_missing" %pytest -k "not ($donttest)" %endif