Files
packages/lang/python/python-gmpy2/patches/001-relax-setuptools-version-constraint.patch
Alexandru Ardelean 643e0bd695 python-gmpy2: bump to 2.3.0
Changelog since 2.2.2:
- Add mpz.array() method for NumPy interaction
- Implement mpq.limit_denominator() functionality
- Add is_integer() method for mpz/mpq types
- Add mixed-mode arithmetic support for mpc types
- Enhanced formatting using context's rounding mode defaults
- Full free-threaded Python build support
- Fix memory leaks in MPFR/MPC cache and context exit
- Drop CPython 3.8 support (requires 3.9+)

Add test.sh.

gmpy2 2.3.0 switched to pyproject.toml with setuptools-scm for version
management. Add python-setuptools-scm/host to PKG_BUILD_DEPENDS.

Full changelog:
https://github.com/aleaxit/gmpy/releases

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-03-22 08:43:19 +02:00

10 lines
252 B
Diff

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
-requires = ['setuptools>=77,<80', 'setuptools_scm[toml]>=6.0']
+requires = ['setuptools>=77', 'setuptools_scm[toml]>=6.0']
build-backend = 'setuptools.build_meta'
[project]