Accepting request 1113840 from home:ecsos:python

- 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}

OBS-URL: https://build.opensuse.org/request/show/1113840
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpmath?expand=0&rev=13
This commit is contained in:
2023-09-28 07:41:07 +00:00
committed by Git OBS Bridge
parent 0fe75c8dc1
commit e4fa30b8fa
4 changed files with 37 additions and 7 deletions

Binary file not shown.

BIN
mpmath-1.3.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,30 @@
-------------------------------------------------------------------
Wed Sep 27 08:47:23 UTC 2023 - ecsos <ecsos@opensuse.org>
- 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 <daniel.garcia@suse.com>

View File

@@ -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