Hello community, here is the log from the commit of package python-vistir for openSUSE:Factory checked in at 2020-11-17 21:21:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-vistir (Old) and /work/SRC/openSUSE:Factory/.python-vistir.new.24930 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-vistir" Tue Nov 17 21:21:06 2020 rev:11 rq:848399 version:0.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-vistir/python-vistir.changes 2020-08-01 12:30:22.178411401 +0200 +++ /work/SRC/openSUSE:Factory/.python-vistir.new.24930/python-vistir.changes 2020-11-17 21:21:09.345074156 +0100 @@ -1,0 +2,5 @@ +Fri Nov 13 08:32:25 UTC 2020 - John Vandenberg <jay...@gmail.com> + +- Disable tests that fail on Python 2 only, fixing Leap builds + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-vistir.spec ++++++ --- /var/tmp/diff_new_pack.VpL1Nq/_old 2020-11-17 21:21:09.825074881 +0100 +++ /var/tmp/diff_new_pack.VpL1Nq/_new 2020-11-17 21:21:09.829074886 +0100 @@ -66,7 +66,6 @@ %setup -q -n vistir-%{version} sed -i '/invoke/d;/parver/d;/wheel$/d;/addopts/d' setup.cfg -rm -r tasks %build %python_build @@ -77,10 +76,19 @@ %check export LANG=en_US.UTF-8 -# test_open_file requires network access + +# test_open_file_without_requests requires network access # test_path_to_url needs bigger seed than some of our virtuals provide # test_ensure_mkdir_p race condition -%pytest -k 'not (test_open_file or test_path_to_url or test_ensure_mkdir_p)' +# 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)" +} %files %{python_files} %doc CHANGELOG.rst README.rst _______________________________________________ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org