Hello community,
here is the log from the commit of package python-photutils for
openSUSE:Factory checked in at 2020-07-18 21:01:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-photutils (Old)
and /work/SRC/openSUSE:Factory/.python-photutils.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-photutils"
Sat Jul 18 21:01:04 2020 rev:7 rq:821554 version:0.7.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-photutils/python-photutils.changes
2020-07-16 12:17:01.970878581 +0200
+++
/work/SRC/openSUSE:Factory/.python-photutils.new.3592/python-photutils.changes
2020-07-18 21:01:33.443518337 +0200
@@ -1,0 +2,5 @@
+Fri Jul 17 11:35:55 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- actually detect failures with sys.exit(photutils.test())
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-photutils.spec ++++++
--- /var/tmp/diff_new_pack.vqYycs/_old 2020-07-18 21:01:35.407520415 +0200
+++ /var/tmp/diff_new_pack.vqYycs/_new 2020-07-18 21:01:35.411520419 +0200
@@ -73,7 +73,7 @@
# Use astropy test suite logic. Calling pytest directly would require
# duplicate in-place building of extensions.
%{python_expand export PYTHONPATH="%{buildroot}%{$python_sitearch}"
-$python -B -c "import photutils; photutils.test(args=\"-v\")"
+$python -B -c "import photutils, sys; sys.exit(photutils.test(args=\"-v\"))"
}
%files %{python_files}