Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-control for openSUSE:Factory 
checked in at 2023-01-26 13:59:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-control (Old)
 and      /work/SRC/openSUSE:Factory/.python-control.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-control"

Thu Jan 26 13:59:09 2023 rev:19 rq:1061187 version:0.9.3.post2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-control/python-control.changes    
2023-01-01 09:39:08.498871416 +0100
+++ /work/SRC/openSUSE:Factory/.python-control.new.32243/python-control.changes 
2023-01-26 14:07:37.171329254 +0100
@@ -1,0 +2,7 @@
+Thu Jan 26 09:40:27 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Avoid i586 segfaults with Qt5/Matplotlib:
+  * Remove i586 malloc workarounds for memory allocation
+  * Don't test balanced model reduction on 32-bit
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-control.spec ++++++
--- /var/tmp/diff_new_pack.MPbwNR/_old  2023-01-26 14:07:37.643332034 +0100
+++ /var/tmp/diff_new_pack.MPbwNR/_new  2023-01-26 14:07:37.647332058 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-control
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -45,7 +45,6 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scipy >= 1.3}
 BuildRequires:  %{python_module slycot}
-BuildRequires:  libjemalloc2
 # /SECTION
 %python_subpackages
 
@@ -69,11 +68,12 @@
 # The default Agg backend does not define the toolbar attribute in the Figure
 # Manager used by some tests, so we run the tests with the Qt5 backend
 export MPLBACKEND="Qt5Agg"
-# preload malloc library to avoid free() error on i586 architecture
-if [[ $(getconf LONG_BIT) == 32 ]]; then
-export LD_PRELOAD="%{_libdir}/libjemalloc.so.2"
-fi
-%pytest
+donttest="dummyprefix"
+# gh#python-control/python-control#838
+[ "${RPM_ARCH}" != "x86_64" ] && donttest="$donttest or (test_optimal_doc and 
shooting-3-u0-None)"
+# causes i586 segfaults in matplotlib after successful balanced model 
reduction tests
+[ $(getconf LONG_BIT) -eq 32 ] && donttest="$donttest or testBalredMatchDC"
+%pytest -k "not (${donttest})"
 
 %files %{python_files}
 %doc ChangeLog README.rst

Reply via email to