Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-gmpy2 for openSUSE:Factory 
checked in at 2026-04-25 21:37:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-gmpy2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-gmpy2.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-gmpy2"

Sat Apr 25 21:37:59 2026 rev:9 rq:1349203 version:2.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gmpy2/python-gmpy2.changes        
2024-01-25 18:41:27.719206631 +0100
+++ /work/SRC/openSUSE:Factory/.python-gmpy2.new.11940/python-gmpy2.changes     
2026-04-25 21:42:32.454456608 +0200
@@ -1,0 +2,65 @@
+Sat Apr 25 08:56:55 UTC 2026 - Dirk Müller <[email protected]>
+
+- 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.
+
+-------------------------------------------------------------------

Old:
----
  gmpy2-2.1.5.tar.gz
  gmpy2_cache.c.diff
  mpfr421.patch
  support-python-312.patch

New:
----
  gmpy2-2.3.0.tar.gz

----------(Old B)----------
  Old:    :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.
  Old:    :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.
  Old:    :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.
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-gmpy2.spec ++++++
--- /var/tmp/diff_new_pack.Jzsfzt/_old  2026-04-25 21:42:32.990478497 +0200
+++ /var/tmp/diff_new_pack.Jzsfzt/_new  2026-04-25 21:42:32.994478661 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-gmpy2
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,21 +18,18 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-gmpy2
-Version:        2.1.5
+Version:        2.3.0
 Release:        0
 Summary:        GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3x
 License:        LGPL-3.0-only
 URL:            https://github.com/aleaxit/gmpy
 Source:         
https://files.pythonhosted.org/packages/source/g/gmpy2/gmpy2-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM https://github.com/aleaxit/gmpy/pull/422 Update MPFR to 
4.2.1 in build scripts & fix test failures on new version
-Patch0:         mpfr421.patch
-# PATCH-FIX-UPSTREAM file included in 
https://github.com/aleaxit/gmpy/issues/418#issuecomment-1706721394
-Patch1:         gmpy2_cache.c.diff
-# PATCH-FIX-UPSTREAM included in https://github.com/aleaxit/gmpy/issues/446
-Patch2:         support-python-312.patch
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools >= 77}
+BuildRequires:  %{python_module setuptools_scm >= 6.0}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  gmp-devel
@@ -51,7 +48,7 @@
 rounded complex floating-point arithmetic) libraries.
 
 %prep
-%autosetup -p1 -n gmpy2-%{version}
+%setup -q -n gmpy2-%{version}
 
 %build
 export CFLAGS="%{optflags}"
@@ -62,16 +59,11 @@
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
-%{python_expand export PYTHONDONTWRITEBYTECODE=1
-export PYTHONPATH=%{buildroot}%{$python_sitearch}
-pushd test
-$python runtests.py
-popd
-}
+%pytest_arch
 
 %files %{python_files}
-%doc README
 %license COPYING COPYING.LESSER
+%doc README.rst
 %{python_sitearch}/gmpy2
 %{python_sitearch}/gmpy2-%{version}.dist-info
 

++++++ gmpy2-2.1.5.tar.gz -> gmpy2-2.3.0.tar.gz ++++++
++++ 53904 lines of diff (skipped)

Reply via email to