Hello community, here is the log from the commit of package python-slycot for openSUSE:Factory checked in at 2020-06-02 14:38:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-slycot (Old) and /work/SRC/openSUSE:Factory/.python-slycot.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-slycot" Tue Jun 2 14:38:06 2020 rev:9 rq:810372 version:0.4.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-slycot/python-slycot.changes 2020-04-22 20:52:03.923283351 +0200 +++ /work/SRC/openSUSE:Factory/.python-slycot.new.3606/python-slycot.changes 2020-06-02 14:38:50.959561258 +0200 @@ -1,0 +2,55 @@ +Sat May 30 14:03:41 UTC 2020 - Benjamin Greiner <c...@bnavigator.de> + +- Update to version 0.4.0.0 + * Added periodic Schur decomposition functions mb03vd, mb03vy, and mb03wd + * Added ab08nz, allowing one to find zeros of complex-valued state-space models + * Added mb03rd, Schur to block-diagonal transform + * Added sb01fd H-infinity solver + Already present sb10ad searches for a minimum gamma value for a given + H-infinity problem; sb10fd, by contrast, only attempts to solve for a given + gamma value. This can be used to test for admissible gamma values, which + could be useful for problems like python-control/python-control#367. + * New Slycot exception hierarchy; greatly improved Slycot error handling. + Slycot routines now raise SlycotValueError where they would previously have + raised ValueError, and SlycotArithmeticError where they would have raised + ArithmeticError. + These changes are backwardly compatible: SlycotValueError is a subclasss of + ValueError, and SlycotArithmeticError is a subclass of ArithmeticError. + As part of this, many of the Slycot function docstrings were changed to + conform to numpydoc conventions. + This supersedes an earlier fix for python-control#347 made during 0.4.0 + development. + * Override XERBLA + Overrode the BLAS error function XERBLA that SLICOT routines use to report + errors; the BLAS-provided XERBLA can terminate the whole Python process. + * Correct application of DGEBAL in TB01TD and TB05AD + * Fixed ab01nd for jobz='N' case + * conda build recipes no longer use pip + * added conda recipes for MKL and Apple + * removed conda recipes for Windows; no developer is using them, and they + weren't working + * the signature files (.pyf files) are now a dependency of wrapper generation + Testing + * Tests added for mb05nd, mc01td, ab08nd, ab08nz, mb03vd, mb03vy, mb03wd. + * Tests fixed or expanded for mb05md, sg03ad, td04ad. + * Switched to pytest; Slycot CI now uses pytest for both the Slycot and + python-control test suites. + * CI now builds and tests for Linux and macOS. The Linux builds include + OpenBLAS and MKL variants. + * Examples are run as part of tests. Outputs are not checked, but errors and + warnings are. + * CI coveralls.io integration fixed. + * General test clean-up. + * Test files are no longer executable. + * Fix for mb05nd. + * Lots of clean-up: removal of unused mathematical.pyf, many docstring fixes, + and some PEP 8 conformance changes to Python code. + * Fix for Fortran-compiler dependence on machine value used to represent + logical values .TRUE. and .FALSE. + * @repagh fired up his time machine and ensured punch-card compatibility of + the SLICOT Fortran code by limiting line lengths to 72 characters. +- switch testing to pytest +- some new tests require scipy +- remove obsolete patches fix-test-sg03ad.patch and fix-test-td04ad.patch + +------------------------------------------------------------------- Old: ---- fix-test-sg03ad.patch fix-test-td04ad.patch slycot-0.3.5.0.tar.gz New: ---- slycot-0.4.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-slycot.spec ++++++ --- /var/tmp/diff_new_pack.CKb7XB/_old 2020-06-02 14:38:54.847573548 +0200 +++ /var/tmp/diff_new_pack.CKb7XB/_new 2020-06-02 14:38:54.851573561 +0200 @@ -28,21 +28,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 +%define eggversion 0.4.0 Name: python-slycot -Version: 0.3.5.0 +Version: 0.4.0.0 Release: 0 Summary: A wrapper for the SLICOT control and systems library License: GPL-2.0-only Group: Development/Languages/Python URL: https://github.com/python-control/Slycot Source: https://files.pythonhosted.org/packages/source/s/slycot/slycot-%{version}.tar.gz -Patch0: fix-test-td04ad.patch -Patch1: fix-test-sg03ad.patch -BuildRequires: %{python_module coverage} BuildRequires: %{python_module devel} -BuildRequires: %{python_module nose} BuildRequires: %{python_module numpy-devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module scikit-build} +BuildRequires: %{python_module scipy} BuildRequires: %{python_module setuptools} BuildRequires: cmake BuildRequires: fdupes @@ -66,12 +65,6 @@ %prep %setup -q -n slycot-%{version} -%patch0 -p1 -%patch1 -p1 -%if %{with openblas} -sed -i 's/#set(BLA_VENDOR "OpenBLAS")/set(BLA_VENDOR "OpenBLAS")/' CMakeLists.txt -%endif -sed -i 's/LAPACK REQUIRED/LAPACK REQUIRED MODULE/' CMakeLists.txt %build export CFLAGS="%{optflags}" @@ -82,15 +75,15 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -export PYTHONDONTWRITEBYTECODE=1 # make package build reproducible (boo#1047218) -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -$python runtests.py --coverage --no-build -} +export LANG="en_US.UTF-8" +# avoid leading empty path entry introduced by %%pytest_arch +export PYTHONPATH=/nonexistent +%pytest_arch --pyargs slycot %files %{python_files} -%doc README.rst CREDITS +%doc README.rst %license COPYING %{python_sitearch}/slycot -%{python_sitearch}/slycot-*-py*.egg-info +%{python_sitearch}/slycot-%{eggversion}-py*.egg-info %changelog ++++++ slycot-0.3.5.0.tar.gz -> slycot-0.4.0.0.tar.gz ++++++ ++++ 11875 lines of diff (skipped)