Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python314-gmpy2-2.3.1-1.2 RPM for x86_64

From OpenSuSE Tumbleweed for x86_64

Name: python314-gmpy2 Distribution: openSUSE Tumbleweed
Version: 2.3.1 Vendor: openSUSE
Release: 1.2 Build date: Sun Jul 5 10:35:10 2026
Group: Unspecified Build host: reproducible
Size: 1041207 Source RPM: python-gmpy2-2.3.1-1.2.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/aleaxit/gmpy
Summary: GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3x
gmpy2 is a C-coded Python extension module that supports
multiple-precision arithmetic. In addition to supporting
GMP or MPIR for multiple-precision integer and rational
arithmetic, gmpy2 adds support for the MPFR (correctly
rounded real floating-point arithmetic) and MPC (correctly
rounded complex floating-point arithmetic) libraries.

Provides

Requires

License

LGPL-3.0-only

Changelog

* Sun Jul 05 2026 Dirk Müller <dmueller@suse.com>
  - update to 2.3.1:
    * Fix ieee() for bit width > 128. (skirpichev)
    * Fix Fix mpc.__module__. (skirpichev)
    * Check for buffer overflows in __format__() dunders.
      (skirpichev)
    * Support CPython v3.15. (skirpichev)
    * Drop additional constraint for Jacobi symbol. (skirpichev)
* Sat Apr 25 2026 Dirk Müller <dmueller@suse.com>
  - update to 2.3.0:
    * Drop support for CPython < 3.9, experimental support for
      PyPy. (skirpichev)
    * Improved support for mixed mpfr and mpc arithmetic.
      (skirpichev)
    * Preliminary support for free-threaded builds.  (skirpichev)
    * Fix behavior and memory leaks for contexts.  (skirpichev)
    * Fix memory leaks for mpfr caching.  (skirpichev)
    * Fix rounding errors in float(mpz) and float(mpq).
      (skirpichev)
    * Add missing methods to mpz and mpq.  (skirpichev)
    * Fix round(mpz, ndigits) if ndigits is negative.  (skirpichev)
    * Use context's rounding mode per default in format and round.
      (skirpichev)
    * Use setuptools_scm to manage versions. (skirpichev)
    * Fix exception for float(mpfr('inf')) (was: OverflowError).
      (skirpichev)
    * Ignore sign bit of NaN's in string output. (skirpichev)
    * Support '%' formatting type for mpfr's. (skirpichev)
    * Support floating-point formatting types for mpz's.
      (skirpichev)
    * Set default precision to 6 for 'e'/'E' format types.
      (skirpichev)
    * Support "alternate form" in floating-point formatting.
      (skirpichev)
    * Improve documentation for format support in gmpy2's types.
      (skirpichev)
    * Use 'g' (not 'f') as default formatting type for mpfr's.
      (skirpichev)
    * Specify case, when formatting type and precision are missing.
      (skirpichev)
    * Disable scripts/mp_bitcnt_t.diff in binary wheels.
      (skirpichev)
    * Fix memory leak for mpfr/mpc cache, see issue 511.
    * Fix memory leak in GMPy_CTXT_Exit(), see issue 515.
    * Restore 'm' in library list, see issue 538.
    * Adjust to_bytes() behavior to match CPython.
    * Provide wheels for CPython v3.14.
    * Provide wheels for Linux and Windows ARM64.
    * Fix internal use of char when int should be used. (jamesjer)
    * Add :meth:`xmpz.bit_count`. (skirpichev)
    * Remove support for versions of Python < 3.7.  (skirpichev)
    * Support more modern build tools.  (skirpichev)
    * Use contextvars to manage gmpy2 contexts.  (casevh)
    * _mpmath functions now use vectorcall protocol.  (casevh)
    * Many documentation updates.  (skirpichev)
    * Add :meth:`mpz.as_integer_ratio()` / :meth:`mpz.to_bytes()`
      and :meth:`mpz.from_bytes()`.  (skirpichev)
    * Add :func:`is_probab_prime()` to directly expose the GMP
      behavior.  (skirpichev)
    * :func:`gcd()`/:func:`lcm()` now uses vectorcall protocol.
      (skirpichev)
    * Expose :class:`context` type.  (skirpichev)
    * Correct error in :func:`is_strong_bpsw_prp()`.  (casevh)
    * Added :func:`prev_prime()` when GMP >= 6.3.  (sethtroisi)
    * Change argument order of :func:`jn()` and :func:`yn()` to
      match MPFR.  (casevh)
    * Fix documentation and code for
      :func:`is_extra_strong_lucas_prp()`.  (casevh)
  - Drop mpfr421.patch, gmpy2_cache.c.diff, and support-python-312.patch:
    obsolete and already merged or replaced in upstream source.
* Thu Jan 25 2024 Steve Kowalik <steven.kowalik@suse.com>
  - Add patch support-python-312.patch:
    * Support Python 3.12 changes.
  - Switch to pyproject macros.
* Wed Sep 27 2023 ecsos <ecsos@opensuse.org>
  - Fix build error "patch defined multiple times" for Leap.
* Tue Sep 19 2023 Markéta Machová <mmachova@suse.com>
  - Add upstream mpfr421.patch and gmpy2_cache.c.diff to fix build
    with mpfr 4.2.1
* Sat Jun 10 2023 ecsos <ecsos@opensuse.org>
  - Add %{?sle15_python_module_pythons}
* Fri Apr 07 2023 Jan Engelhardt <jengelh@inai.de>
  - Remove unused build dependency on mpir (gmp was used anyway)
* Thu Jan 05 2023 Dirk Müller <dmueller@suse.com>
  - update to gmpy2-2.1.5:
    * Final (?) release of the 2.1.x series. No code changes since 2.1.3.
      Fixes to build Apple Silicon binary builds are the only changes since
    * Latest release with minor bug fixes and support for Python 3.11
* Mon Feb 21 2022 Steve Kowalik <steven.kowalik@suse.com>
  - Update to 2.1.2:
    * Allow GIL release for mpz/xmpz/mpq types only.
    * Improve argument type processing by saving type information to
      decrease the number of type check calls. Especially helpful for mpfr and mpc types.
    * Avoid MPFR bug in mfr_fac_ui (gmpy2.factorial) on platforms where
      long is 32-bits and argument is >= 44787929.
    * Adjust test suite to reflect changes in output in MPFR 4.1.0.
    * Added cmp() and cmp_abs().
    * Improved compatibility with _numbers_ protocol.
    * Initial support for MPFR4
      + Add nrandom()
      + grandom() now calls nrandom twice; may return different values versus MPFR3
      + Add rootn(); same as root() except different sign when taking even root of -0.0
    * Thread-safe contexts are now supported. Properly integrating thread-safe contexts required
      an extensive rewrite of almost all internal functions.
    * MPFR and MPC are now required. It is no longer possible to build a version of gmpy2 that
      only supports the GMP library.
    * The function inverse() now raises an exception if the inverse does not exist.
    * Context methods have been added for MPFR/MPC related functions.
    * A new context option (rational_division) has been added that changes the behavior of
      integer division involving mpz instances to return a rational result instead of a
      floating point result.
    * gmpy2 types are now registered in the numeric tower.
  - Remove unzip BuildRequires, as upstream has switched to tarballs.
* Thu May 24 2018 toddrme2178@gmail.com
  - spec file cleanups

Files

/usr/lib64/python3.14/site-packages/gmpy2
/usr/lib64/python3.14/site-packages/gmpy2-2.3.1.dist-info
/usr/lib64/python3.14/site-packages/gmpy2-2.3.1.dist-info/INSTALLER
/usr/lib64/python3.14/site-packages/gmpy2-2.3.1.dist-info/METADATA
/usr/lib64/python3.14/site-packages/gmpy2-2.3.1.dist-info/RECORD
/usr/lib64/python3.14/site-packages/gmpy2-2.3.1.dist-info/REQUESTED
/usr/lib64/python3.14/site-packages/gmpy2-2.3.1.dist-info/WHEEL
/usr/lib64/python3.14/site-packages/gmpy2-2.3.1.dist-info/licenses
/usr/lib64/python3.14/site-packages/gmpy2-2.3.1.dist-info/licenses/COPYING
/usr/lib64/python3.14/site-packages/gmpy2-2.3.1.dist-info/licenses/COPYING.LESSER
/usr/lib64/python3.14/site-packages/gmpy2-2.3.1.dist-info/top_level.txt
/usr/lib64/python3.14/site-packages/gmpy2/__init__.pxd
/usr/lib64/python3.14/site-packages/gmpy2/__init__.py
/usr/lib64/python3.14/site-packages/gmpy2/__pycache__
/usr/lib64/python3.14/site-packages/gmpy2/__pycache__/__init__.cpython-314.opt-1.pyc
/usr/lib64/python3.14/site-packages/gmpy2/__pycache__/__init__.cpython-314.pyc
/usr/lib64/python3.14/site-packages/gmpy2/gmp.h
/usr/lib64/python3.14/site-packages/gmpy2/gmpy2.cpython-314-x86_64-linux-gnu.so
/usr/lib64/python3.14/site-packages/gmpy2/gmpy2.h
/usr/lib64/python3.14/site-packages/gmpy2/gmpy2.pxd
/usr/lib64/python3.14/site-packages/gmpy2/mpc.h
/usr/lib64/python3.14/site-packages/gmpy2/mpfr.h
/usr/share/doc/packages/python314-gmpy2
/usr/share/doc/packages/python314-gmpy2/README.rst
/usr/share/licenses/python314-gmpy2
/usr/share/licenses/python314-gmpy2/COPYING
/usr/share/licenses/python314-gmpy2/COPYING.LESSER


Generated by rpm2html 1.8.1

Fabrice Bellet, Sun Aug 2 01:54:38 2026