From 4948a3fcba0a58f571febc706059522dad57c33e Mon Sep 17 00:00:00 2001 From: dirkmueller <> Date: Oct 01 2023 19:35:41 +0000 Subject: Update python-mpmath to version 1.3.0 / rev 6 via SR 1114257 https://build.opensuse.org/request/show/1114257 by user dirkmueller + anag+factory - Update to 1.3.0 (bsc#1215804, CVE-2021-29063): * 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 parame --- diff --git a/.files b/.files index 9aab8b4..c8475ea 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 3cf83f6..fe0c0fd 100644 --- a/.rev +++ b/.rev @@ -40,4 +40,34 @@ </comment> <requestid>1057590</requestid> </revision> + <revision rev="6" vrev="1"> + <srcmd5>6cfcb34c33aa3bbfa045a0086a3ecfae</srcmd5> + <version>1.3.0</version> + <time>1696188134</time> + <user>anag+factory</user> + <comment>- Update to 1.3.0 (bsc#1215804, CVE-2021-29063): + * 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}</comment> + <requestid>1114257</requestid> + </revision> </revisionlist> diff --git a/mpmath-1.2.1.tar.gz b/mpmath-1.2.1.tar.gz deleted file mode 120000 index 0c6e811..0000000 --- a/mpmath-1.2.1.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeid3n6yawfphbinocxwmli3pd4ba4fccaxbqqc2dwuzhq7itrrds4a \ No newline at end of file diff --git a/mpmath-1.3.0.tar.gz b/mpmath-1.3.0.tar.gz new file mode 120000 index 0000000..0c9c142 --- /dev/null +++ b/mpmath-1.3.0.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeiejglanww3mh3itfpiyuheo2hcnyvfw5j4kxx6oe4nolnayx2nghu \ No newline at end of file diff --git a/python-mpmath.changes b/python-mpmath.changes index a60a91e..e176f9d 100644 --- a/python-mpmath.changes +++ b/python-mpmath.changes @@ -1,4 +1,31 @@ ------------------------------------------------------------------- +Wed Sep 27 08:47:23 UTC 2023 - ecsos <ecsos@opensuse.org> + +- Update to 1.3.0 (bsc#1215804, CVE-2021-29063): + * 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 <daniel.garcia@suse.com> - Replace python-gmpy dependecy with python-gmpy2 diff --git a/python-mpmath.spec b/python-mpmath.spec index aa3ed38..443700c 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