Skip to content

Commit

Permalink
Updates to release 2.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
casevh committed Jun 29, 2024
1 parent 3215253 commit 3e4564a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 30 deletions.
35 changes: 8 additions & 27 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,16 @@ multiple-precision arithmetic. gmpy2 is based on the original gmpy module.
gmpy2 adds support for correctly rounded multiple-precision real arithmetic
(using the MPFR library) and complex arithmetic (using the MPC library).

Version 2.1.x Status
--------------------
Version 2.2
-----------

gmpy2 2.1 was extensively refactored. Some of the significant changes are:
gmpy2 2.2.0 is now available with support for Python 3.7 to 3.13.

* Support for thread-safe contexts and context methods
* Interoperability with Cython extensions
* mpz and mpq operation can release the GIL

* The current implementation is experimental

* Improved argument processing

The gmpy2 2.1 series will be the last to offer compatibility with Python 2.7.
Release 2.1.3 is the last planned release of the 2.1 series.

Note: Versions 2.1.4 and 2.1.5 were released to address Apple Silicon wheel
build issues. There are no code changes.

Release 2.1.5 is the last planned release of the 2.1 series.


Version 2.2 Plans
-----------------

Version 2.2 will drop support for Python 2.7 and older Python 3.x versions.

The primary development focus will be on functions that operate on lists and
release the GIL. See powmod_base_list and powmod_exp_list as examples.
* Support for thread-safe contexts and context methods has been improved.
* Interoperability with Cython extensions has been updated.
* Extensive improvements have been made to the build and testing processes.
* Many bug fixes.
* Extensive documentation cleanup.

Availability
------------
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ build-backend = 'setuptools.build_meta'

[project]
name = 'gmpy2'
version = '2.2.0rc1'
version = '2.2.0'
description = 'gmpy2 interface to GMP, MPFR, and MPC for Python 3.7+'
keywords = ['gmp', 'mpfr', 'mpc', 'multiple-precision',
'arbitrary-precision', 'precision', 'bignum']
license = {text = 'LGPL-3.0+'}
authors = [{name = 'Case Van Horsen'}]
maintainers = [{name = 'Case Van Horsen', email = 'casevh@gmail.com'}]
classifiers = ['Development Status :: 4 - Beta',
classifiers = ['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',
Expand Down
2 changes: 1 addition & 1 deletion src/gmpy2.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@

/* The following global strings are used by gmpy_misc.c. */

char gmpy_version[] = "2.2.0rc1";
char gmpy_version[] = "2.2.0";

char gmpy_license[] = "\
The GMPY2 source code is licensed under LGPL 3 or later. The supported \
Expand Down

0 comments on commit 3e4564a

Please sign in to comment.