Hello community, here is the log from the commit of package spyder3 for openSUSE:Factory checked in at 2020-03-20 23:54:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spyder3 (Old) and /work/SRC/openSUSE:Factory/.spyder3.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spyder3" Fri Mar 20 23:54:15 2020 rev:29 rq:786134 version:4.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/spyder3/spyder3.changes 2020-02-26 15:04:56.137177917 +0100 +++ /work/SRC/openSUSE:Factory/.spyder3.new.3160/spyder3.changes 2020-03-20 23:54:22.848831102 +0100 @@ -1,0 +2,14 @@ +Wed Mar 18 10:36:35 UTC 2020 - Benjamin Greiner <[email protected]> + +- disable ipythonconsole plugin tests completely. OBS really does + not behave well here -- lots of timeout errors. +- move to pytest-xvfb + +------------------------------------------------------------------- +Fri Mar 13 10:33:46 UTC 2020 - Hans-Peter Jansen <[email protected]> + +- disable test_dbg_input (relies on IPythonConsole behaving well in OBS) +- recommend auxiliary spider modules +- fix specific jedi =0.14.1 dependency removal, that triggers a warn dialog + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spyder3.spec ++++++ --- /var/tmp/diff_new_pack.t9Dcnv/_old 2020-03-20 23:54:26.388833346 +0100 +++ /var/tmp/diff_new_pack.t9Dcnv/_new 2020-03-20 23:54:26.388833346 +0100 @@ -16,12 +16,12 @@ # -%define X_display ":98" %ifarch x86_64 aarch64 ppc64le %{arm} %{ix86} %{ppc} %bcond_without test %else %bcond_with test %endif +%define skip_python2 1 Name: spyder3 Version: 4.0.1 Release: 0 @@ -99,6 +99,11 @@ Requires: python3-watchdog Recommends: %{name}-dicom Recommends: %{name}-hdf5 +Recommends: %{name}-line-profiler +Recommends: %{name}-memory-profiler +Recommends: %{name}-notebook +Recommends: %{name}-terminal +Recommends: %{name}-unittest Recommends: python3-Pillow Recommends: python3-matplotlib >= 1.0 Recommends: python3-numpy @@ -131,7 +136,7 @@ BuildRequires: python3-scipy BuildRequires: python3-spyder-kernels >= 1.8.1 BuildRequires: python3-sympy -BuildRequires: xvfb-run +BuildRequires: xdpyinfo %endif %description @@ -226,6 +231,8 @@ sed -i -e '/^#!\//, 1d' spyder/utils/external/github.py %patch0 -p1 %patch1 -p1 +# remove specific jedi dependency, as it triggers an annoying warning on startup +sed -i "s|JEDI_REQVER = '=0.14.1'|JEDI_REQVER = None|" spyder/dependencies.py %build %python3_build @@ -281,8 +288,13 @@ # tests not suitable for CIs or OBS as evident from the last assert which fails here skiptests="$skiptests or test_connection_dialog_remembers_input_with_ssh_passphrase" skiptests="$skiptests or test_connection_dialog_remembers_input_with_password" - -xvfb-run -a python3 -B -m pytest -vvvv spyder -k "not ($skiptests)" +# test relies on IPythonConsole behaving well on OBS (which does not..) +skiptests="$skiptests or test_dbg_input" +# same for the whole ipythonconsole plugin +ipythonplugin="spyder/plugins/ipythonconsole" +ignoretestfiles="--ignore=$ipythonplugin/tests/test_ipythonconsole.py + --ignore=$ipythonplugin/comms/tests/test_comms.py" +%pytest -k "not ($skiptests)" $ignoretestfiles %endif %files
