Hello community,
here is the log from the commit of package python-construct for
openSUSE:Factory checked in at 2020-06-26 21:43:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-construct (Old)
and /work/SRC/openSUSE:Factory/.python-construct.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-construct"
Fri Jun 26 21:43:47 2020 rev:15 rq:816628 version:2.10.56
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes
2020-04-19 21:41:22.739106771 +0200
+++
/work/SRC/openSUSE:Factory/.python-construct.new.3060/python-construct.changes
2020-06-26 21:43:50.969524964 +0200
@@ -1,0 +2,7 @@
+Tue Jun 23 14:27:05 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Add source dir to PYTHONPATH just as upstream does.
+ Necessary due change in pytest macro gh#openSUSE/python-rpm-macros#48
+- don't benchmark, just run the tests once
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-construct.spec ++++++
--- /var/tmp/diff_new_pack.eEUFU0/_old 2020-06-26 21:43:51.653527154 +0200
+++ /var/tmp/diff_new_pack.eEUFU0/_new 2020-06-26 21:43:51.653527154 +0200
@@ -78,7 +78,9 @@
%check
%if %{with test}
-%pytest
+# local source dir is needed for tests
+export PYTHONPATH=$(pwd)
+%pytest --benchmark-disable
%endif
%if %{without test}