Skip to content

Commit

Permalink
Update version to 2.2.1rc1 as final test for 2.2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
casevh committed Jul 19, 2024
1 parent 11c0c14 commit 6804574
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
8 changes: 7 additions & 1 deletion docs/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@ Release Notes

.. currentmodule:: gmpy2

Changes in gmpy2 2.2.1
----------------------

* Fix internal use of `char` when `int` should be used. (jamesjer)
* Add `xmpz.bit_count`. (skirpichev)

Changes in gmpy2 2.2.0
------------------------
----------------------

* Remove support for versions of Python < 3.7. (skirpichev)
* Support more modern build tools. (skirpichev)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'

[project]
name = 'gmpy2'
version = '2.2.0'
version = '2.2.1rc1'
description = 'gmpy2 interface to GMP, MPFR, and MPC for Python 3.7+'
keywords = ['gmp', 'mpfr', 'mpc', 'multiple-precision',
'arbitrary-precision', 'precision', 'bignum']
Expand Down
4 changes: 2 additions & 2 deletions 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.0";
char gmpy_version[] = "2.2.1rc1";

char gmpy_license[] = "\
The GMPY2 source code is licensed under LGPL 3 or later. The supported \
Expand Down Expand Up @@ -526,7 +526,7 @@ static PyMethodDef Pygmpy_methods [] =
};

static char _gmpy_docs[] =
"gmpy2 2.2.0 - General Multiple-precision arithmetic for Python\n"
"gmpy2 2.2.1 - General Multiple-precision arithmetic for Python\n"
"\n"
"gmpy2 supports several multiple-precision libraries. Integer and\n"
"rational arithmetic is provided by the GMP library. Real floating-\n"
Expand Down
2 changes: 1 addition & 1 deletion test/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


def test_misc():
assert gmpy2.version().startswith('2.2.0')
assert gmpy2.version().startswith('2.2.1')
assert gmpy2.mp_limbsize() in (32,64)
assert '5.0.0' <= gmpy2.mp_version()
assert gmpy2.mpfr_version() and gmpy2.mpfr_version().startswith('MPFR')
Expand Down

0 comments on commit 6804574

Please sign in to comment.