diff --git a/README.rst b/README.rst index a66d1b4e..e251f98f 100644 --- a/README.rst +++ b/README.rst @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 42706960..1bbf790c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", @@ -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" diff --git a/tests/test_mpz.py b/tests/test_mpz.py index e46dcbb2..65ce187a 100644 --- a/tests/test_mpz.py +++ b/tests/test_mpz.py @@ -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: