Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-vistir for openSUSE:Factory 
checked in at 2022-02-22 21:18:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-vistir (Old)
 and      /work/SRC/openSUSE:Factory/.python-vistir.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-vistir"

Tue Feb 22 21:18:12 2022 rev:12 rq:956626 version:0.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-vistir/python-vistir.changes      
2020-11-17 21:21:09.345074156 +0100
+++ /work/SRC/openSUSE:Factory/.python-vistir.new.1958/python-vistir.changes    
2022-02-22 21:18:48.454293025 +0100
@@ -1,0 +2,5 @@
+Mon Feb 21 09:18:12 UTC 2022 - Andreas Schneider <[email protected]>
+
+- Skip building on python2 (this doesn't work anymore)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-vistir.spec ++++++
--- /var/tmp/diff_new_pack.4bKiMm/_old  2022-02-22 21:18:49.090293142 +0100
+++ /var/tmp/diff_new_pack.4bKiMm/_new  2022-02-22 21:18:49.098293144 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-vistir
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without python2
+%define skip_python2 1
 Name:           python-vistir
 Version:        0.5.2
 Release:        0
@@ -34,12 +34,6 @@
 Requires:       python-six
 Recommends:     python-yaspin
 BuildArch:      noarch
-%ifpython2
-Requires:       python2-backports.functools_lru_cache
-Requires:       python2-backports.shutil_get_terminal_size
-Requires:       python2-backports.weakref
-Requires:       python2-pathlib2
-%endif
 # SECTION test requirements
 BuildRequires:  %{python_module colorama >= 0.3.4}
 BuildRequires:  %{python_module hypothesis-fspaths}
@@ -48,13 +42,6 @@
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module yaspin}
-%if %{with python2}
-BuildRequires:  python2-backports.functools_lru_cache
-BuildRequires:  python2-backports.shutil_get_terminal_size
-BuildRequires:  python2-backports.weakref
-BuildRequires:  python2-mock
-BuildRequires:  python2-pathlib2
-%endif
 # /SECTION
 %python_subpackages
 
@@ -83,9 +70,6 @@
 # test_mkdir_p very slow on Leap Python 2
 # test_decode_encode and test_run_failing_subprocess fails on Leap 15.2 Python 
2
 %{python_expand skip_tests="test_open_file_without_requests"
-if [ $python = "%{_bindir}/python2" ]; then
-  skip_tests+=" or mkdir_p or test_decode_encode or 
test_run_failing_subprocess"
-fi
 export PYTHONPATH=%{buildroot}%{$python_sitelib}
 $python -m pytest -v -k "not ($skip_tests)"
 }

Reply via email to