diff --git a/setup.py b/setup.py index cdad8859a..eeb637676 100644 --- a/setup.py +++ b/setup.py @@ -9,8 +9,8 @@ import sys -if sys.version_info[0:2] < (3, 9): - raise RuntimeError('Requires Python 3.9 or newer') +if sys.version_info[0:2] < (3, 11): + raise RuntimeError('Requires Python 3.11 or newer') LOCALE_DIR = Path(__file__).resolve().parent / "packtools" / "sps" / "locale" @@ -101,11 +101,10 @@ def run(self): classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Topic :: Software Development :: Libraries :: Python Modules", ], + python_requires=">=3.11", tests_require=TESTS_REQUIRE, test_suite='tests', install_requires=INSTALL_REQUIRES, diff --git a/tox.ini b/tox.ini index 4c69d6210..3d5dfb679 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,9 @@ [tox] -envlist = {py39,py310,py311}-lxml{492} +envlist = {py311}-lxml{492} [testenv] isolated_build=true basepython = - py39: python3.9 - py310: python3.10 py311: python3.11 deps = lxml492: lxml==4.9.2