diff --git a/mpmath-1.2.1.tar.gz b/mpmath-1.2.1.tar.gz deleted file mode 100644 index c0ff188..0000000 --- a/mpmath-1.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a -size 2144222 diff --git a/mpmath-1.3.0.tar.gz b/mpmath-1.3.0.tar.gz new file mode 100644 index 0000000..d80520a --- /dev/null +++ b/mpmath-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f +size 508106 diff --git a/python-mpmath.changes b/python-mpmath.changes index 57901fa..a4ed499 100644 --- a/python-mpmath.changes +++ b/python-mpmath.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Wed Sep 27 08:47:23 UTC 2023 - ecsos + +- Update to 1.3.0 + * Security issues: + - Fixed ReDOS vulnerability in mpmathify() (CVE-2021-29063) + * Features: + - Added quadsubdiv() for numerical integration with adaptive path splitting + - Added the Cohen algorithm for inverse Laplace transforms + - Some speedup of matrix multiplication + - Optimizations to Carlson elliptic integrals + - Added signal functions (squarew(), trianglew(), sawtoothw(), unit_triangle() + sigmoidw()) + * Bug fixes: + - Correct mpf initialization from tuple for finf and fninf + - Support QR decomposition for matrices of width 0 and 1 + - Fixed some cases where elliprj() gave inaccurate results + - Fixed cases where digamma() hangs for complex input + - Fixed cases of polylog() with integer-valued parameter with complex type + - Fixed fp.nsum() with Euler-Maclaurin algorithm + * Maintenance: + - Dropped support for Python 3.4 + - Documentation cleanup + - Removed obsolete files + - Added options to runtests.py to skip tests and exit on failure +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Tue Jan 10 09:22:45 UTC 2023 - Daniel Garcia diff --git a/python-mpmath.spec b/python-mpmath.spec index 3b8aa8b..82885c9 100644 --- a/python-mpmath.spec +++ b/python-mpmath.spec @@ -16,21 +16,24 @@ # +%{?sle15_python_module_pythons} Name: python-mpmath -Version: 1.2.1 +Version: 1.3.0 Release: 0 Summary: Python library for arbitrary-precision floating-point arithmetic License: BSD-3-Clause Group: Development/Libraries/Python URL: https://github.com/fredrik-johansson/mpmath Source: https://files.pythonhosted.org/packages/source/m/mpmath/mpmath-%{version}.tar.gz -BuildRequires: %{python_module gmpy2} +BuildRequires: %{python_module devel >= 3.8} +BuildRequires: %{python_module gmpy2 >= 2.1.0a4} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-gmpy2 +Requires: python >= 3.8 +Requires: python-gmpy2 >= 2.1.0a4 BuildArch: noarch %python_subpackages @@ -63,7 +66,7 @@ export PYTHONDONTWRITEBYTECODE=1 %files %{python_files} %license LICENSE -%doc CHANGES +%doc README.rst %dir %{python_sitelib}/mpmath %{python_sitelib}/mpmath %{python_sitelib}/mpmath-%{version}-py*.egg-info