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 2021-10-25 15:16:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-virtualenv (Old)
and /work/SRC/openSUSE:Factory/.python-virtualenv.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-virtualenv"
Mon Oct 25 15:16:55 2021 rev:45 rq:923557 version:20.8.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-virtualenv/python-virtualenv.changes
2021-09-16 23:17:08.639951872 +0200
+++
/work/SRC/openSUSE:Factory/.python-virtualenv.new.1890/python-virtualenv.changes
2021-10-25 15:17:21.861673042 +0200
@@ -1,0 +2,19 @@
+Wed Sep 29 16:35:34 UTC 2021 - Ben Greiner <[email protected]>
+
+- Update to 20.8.1
+ * Fixed a bug where while creating a venv on top of an existing
+ one, without cleaning, when seeded wheel version mismatch
+ occurred, multiple .dist-info directories may be present,
+ confounding entrypoint discovery
+ * upgrade embedded setuptools to 58.1.0 and pip to 21.2.4
+- Release to 20.8.0
+ * Add nushell activation script
+- Release 2.7.1
+ * Fix unpacking dictionary items in PythonInfo.install_path
+ (#2165)
+- Fix and activate the test suite
+- Update importlib* dependencies for older pythons
+- Disable the python2 build because there is no
+ python2-platformdirs on any distribution
+
+-------------------------------------------------------------------
Old:
----
virtualenv-20.7.0.tar.gz
New:
----
_multibuild
virtualenv-20.8.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-virtualenv.spec ++++++
--- /var/tmp/diff_new_pack.I57yRE/_old 2021-10-25 15:17:22.713673575 +0200
+++ /var/tmp/diff_new_pack.I57yRE/_new 2021-10-25 15:17:22.717673577 +0200
@@ -16,17 +16,19 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%global flavor @BUILD_FLAVOR@%%{nil}
-%if "%%{flavor}" == "test"
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
%define psuffix -test
%bcond_without test
%else
%define psuffix %{nil}
%bcond_with test
%endif
+# there is no platformdirs for python2 on any of the target distributions
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
Name: python-virtualenv%{psuffix}
-Version: 20.7.0
+Version: 20.8.1
Release: 0
Summary: Virtual Python Environment builder
License: MIT
@@ -34,8 +36,8 @@
Source:
https://files.pythonhosted.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
BuildRequires: %{python_module distlib >= 0.3.1}
BuildRequires: %{python_module filelock >= 3.0.0}
-BuildRequires: %{python_module importlib-metadata >= 0.12}
-BuildRequires: %{python_module importlib-resources >= 1.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 setuptools >= 41.0.0}
BuildRequires: %{python_module setuptools_scm >= 2}
BuildRequires: %{python_module six >= 1.9.0}
@@ -47,19 +49,21 @@
Requires: python-platformdirs >= 2
Requires: python-setuptools
Requires: python-six >= 1.9.0
+%if 0%{python_version_nodots} < 38
+Requires: python-importlib-metadata >= 0.12
+%endif
+%if 0%{python_version_nodots} < 37
+Requires: python-importlib_resources >= 1.0
+%endif
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
-Requires: python-importlib-metadata >= 0.12
-Requires: python-importlib_resources >= 1.0
%ifpython2
Requires: python-contextlib2 >= 0.6.0
Requires: python-pathlib2 >= 2.3.3
%endif
%if %{with test}
BuildRequires: %{python_module backports.entry_points_selectable >= 1.0.4}
-BuildRequires: %{python_module coverage >= 4.5.1}
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module flaky >= 3}
BuildRequires: %{python_module packaging >= 20.0}
BuildRequires: %{python_module pip}
@@ -69,6 +73,7 @@
BuildRequires: %{python_module pytest-freezegun >= 0.4.1}
BuildRequires: %{python_module pytest-mock >= 2.0.0}
BuildRequires: %{python_module pytest-timeout >= 1.3.4}
+BuildRequires: ca-certificates
%endif
%python_subpackages
@@ -101,17 +106,20 @@
%python_build
%install
+%if ! %{with test}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/virtualenv
+%endif
%check
%if %{with test}
export LANG="en_US.UTF8"
-skiptests="test_seed_link_via_app_data"
-# test_seed_link_via_app_data - online tests downloads from pypi
-%pytest
-rm -rf %{buildroot}
+export PIP_CERT="/etc/ssl/ca-bundle.pem"
+export PYTHONPATH=$PWD/src
+# online tests downloads from pypi
+donttest="test_seed_link_via_app_data"
+%pytest -k "not ($donttest)"
%endif
%if !%{with test}
@@ -124,7 +132,8 @@
%files %{python_files}
%license LICENSE
%doc README.md docs/changelog.rst
-%{python_sitelib}/virtualenv*
+%{python_sitelib}/virtualenv
+%{python_sitelib}/virtualenv-%{version}*-info
%python_alternative %{_bindir}/virtualenv
%endif
++++++ _multibuild ++++++
<multibuild>
<package>test</package>
</multibuild>
++++++ virtualenv-20.7.0.tar.gz -> virtualenv-20.8.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-virtualenv/virtualenv-20.7.0.tar.gz
/work/SRC/openSUSE:Factory/.python-virtualenv.new.1890/virtualenv-20.8.1.tar.gz
differ: char 5, line 1