Accepting request 1165670 from home:bnavigator:branches:devel:languages:python:numeric

- Update to 0.10.0
  * Multivariable interconnect functionality by @murrayrm in #881
  * Remove NumPy matrix class by @murrayrm in #913
  * I/O system class restructuring by @murrayrm in #916
  * Documentation fixes by @KybernetikJo in #919, #921, #922, #923
  * Add two MRAC siso examples by @KybernetikJo in #914
  * Time response plots by @murrayrm in #920
  * Print a connection table for interconnected systems by
    @sawyerbfuller in #925
  * Update frequency response plots to use _response/_plot pattern
    by @murrayrm in #924
  * create_statefbk_iosystem and optimal control enhancements by
    @murrayrm in #930
  * Add unit test illustrating issue #935 + add method keyword for
    tf2ss by @murrayrm in #937
  * Vectorize optimal control cost calculation by @urpok23 in #940
  * Improved speed of ctrb and obsv functions by @Jpickard1 in #941
  * Fix sphinx bug (erroneous use of class template) by @murrayrm
    in #943
  * Fix bug in matched transformation + address other issues in
    #950 by @murrayrm in #951
  * Fix typo in header of Hinf example by @jrforbes in #946
  * Fix typo in stochresp.py by @alex-damjanovic in #945
  * Fix TimeResponseData.to_pandas() to handle zero state case by
    @murrayrm in #958
  * Update pole/zero and root locus plots to use _map/_plot pattern
    by @murrayrm in #953
  * Fix CI warnings by @murrayrm in #955
  * Support Python 3.12, bump minimum support according to SPEC 0
    by @bnavigator in #961

OBS-URL: https://build.opensuse.org/request/show/1165670
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-control?expand=0&rev=49
This commit is contained in:
2024-04-05 14:50:56 +00:00
committed by Git OBS Bridge
parent c23608de13
commit ffdb954ca5
5 changed files with 56 additions and 32 deletions

View File

@@ -17,15 +17,13 @@
Name: python-control
Version: 0.9.4
Version: 0.10.0
Release: 0
Summary: Python control systems library
License: BSD-3-Clause
URL: https://python-control.org
Source: https://files.pythonhosted.org/packages/source/c/control/control-%{version}.tar.gz
Source1: %{name}-rpmlintrc
# PATCH-FIX-UPSTREAM python-control-pr961-py312.patch gh#python-control/python-control#961
Patch0: python-control-pr961-py312.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
@@ -72,7 +70,8 @@ sed -i '1{\@^#!/usr/bin/env@ d}' control/tests/*.py
# 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"
donttest="dummyprefix"
# precision issues
donttest="test_lti_nlsys_response"
# 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