Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ integer type (`mpz`_), compatible with Python's `int`_. It includes few
functions (`comb`_, `factorial`_, `gcd`_, `isqrt`_, `lcm`_ and `perm`_),
compatible with the Python stdlib's module `math`_.

This module requires Python 3.9 or later versions and has been tested with
CPython 3.9 through 3.14, with PyPy3.11 7.3.20 and with GraalPy 25.0.
This module requires Python 3.11 or later versions and has been tested with
CPython 3.11 through 3.14, with PyPy3.11 7.3.20 and with GraalPy 25.0.
Free-threading builds of the CPython are supported.

Releases are available in the Python Package Index (PyPI) at
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ classifiers = ["Development Status :: 4 - Beta",
"Programming Language :: C",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand All @@ -36,7 +34,7 @@ classifiers = ["Development Status :: 4 - Beta",
"Operating System :: MacOS",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries :: Python Modules"]
requires-python = ">= 3.9"
requires-python = ">= 3.11"

[project.urls]
Homepage = "https://github.com/diofant/python-gmp"
Expand Down
4 changes: 1 addition & 3 deletions tests/test_mpz.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,9 +808,7 @@ def test_getters(x):
@given(bigints())
def test_methods(x):
mx = mpz(x)
methods = ["conjugate", "bit_length", "as_integer_ratio"]
if sys.version_info >= (3, 10):
methods.append("bit_count")
methods = ["conjugate", "bit_length", "as_integer_ratio", "bit_count"]
if sys.version_info >= (3, 12):
methods.append("is_integer")
for name in methods:
Expand Down