From 503947fa81ca889063671511e47af99d72db9db0 Mon Sep 17 00:00:00 2001 From: Rossi-Luciano Date: Mon, 17 Aug 2026 09:49:27 -0300 Subject: [PATCH] chore: eleva piso de compatibilidade para Python 3.11 (fase 9, #1251) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove Python 3.9 e 3.10 de setup.py (classifiers/python_requires) e tox.ini (envlist), conforme decisão registrada na issue #1251: o suporte oficial passa a ser apenas Python 3.11+. --- setup.py | 7 +++---- tox.ini | 4 +--- 2 files changed, 4 insertions(+), 7 deletions(-) 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