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-03-15 10:53:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-virtualenv (Old)
and /work/SRC/openSUSE:Factory/.python-virtualenv.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-virtualenv"
Mon Mar 15 10:53:53 2021 rev:43 rq:878421 version:20.2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-virtualenv/python-virtualenv.changes
2020-12-23 14:18:43.893563135 +0100
+++
/work/SRC/openSUSE:Factory/.python-virtualenv.new.2401/python-virtualenv.changes
2021-03-15 10:53:54.345126169 +0100
@@ -1,0 +2,11 @@
+Thu Mar 11 23:11:29 UTC 2021 - Matej Cepl <[email protected]>
+
+- Actually switch off all activation tests, so we can shed all those
+ dependencies.
+
+-------------------------------------------------------------------
+Mon Mar 8 15:04:16 UTC 2021 - Matej Cepl <[email protected]>
+
+- Skip test_xonsh on platforms we don't carry xonsh.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-virtualenv.spec ++++++
--- /var/tmp/diff_new_pack.MFnpEg/_old 2021-03-15 10:53:54.801126870 +0100
+++ /var/tmp/diff_new_pack.MFnpEg/_new 2021-03-15 10:53:54.805126875 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package python-virtualenv
+# spec file for package python-virtualenv-test
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -39,13 +39,15 @@
Requires: python-appdirs >= 1.4.3
Requires: python-distlib >= 0.3.1
Requires: python-filelock >= 3.0.0
-Requires: python-importlib-metadata >= 0.12
-Requires: python-importlib_resources >= 1.0
Requires: python-setuptools
Requires: python-six >= 1.9.0
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
BuildArch: noarch
+%if %{python_version_nodots} < 38
+Requires: python-importlib-metadata >= 0.12
+Requires: python-importlib_resources >= 1.0
+%endif
%ifpython2
Requires: python-contextlib2 >= 0.6.0
Requires: python-pathlib2 >= 2.3.3
@@ -61,13 +63,6 @@
BuildRequires: %{python_module pytest-mock >= 2.0.0}
BuildRequires: %{python_module pytest-timeout >= 1.3.4}
BuildRequires: %{python_module virtualenv >= %{version}}
-BuildRequires: fish
-%if 0%{?suse_version} >= 1550
-BuildRequires: %{python_module xonsh >= 0.9.13}
-%else
-BuildRequires: python3-xonsh >= 0.9.13
-%endif
-BuildRequires: tcsh
%endif
%python_subpackages
@@ -92,6 +87,9 @@
%prep
%setup -q -n virtualenv-%{version}
+# Dependencies on all those shells are too cumbersome.
+rm -r tests/unit/activation
+
%build
%python_build
@@ -105,8 +103,9 @@
%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 -k 'not test_seed_link_via_app_data'
+%pytest -k "not ($skiptests)"
%endif
%if !%{with test}