diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1fbc6100..4319e560 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,7 +8,7 @@ jobs: strategy: max-parallel: 3 matrix: - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] steps: - name: checkout diff --git a/requirements.txt b/requirements.txt index 183d2f69..381d5938 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ jinja2>=3.1.2 surt>=0.3.1 brotlipy pyyaml -werkzeug==2.3.7 +werkzeug==2.2.3 webencodings gevent==23.9.0 greenlet>=2.0.2,<3.0 diff --git a/setup.py b/setup.py index 85671138..b9f5a8ca 100755 --- a/setup.py +++ b/setup.py @@ -113,7 +113,7 @@ setup( "translate_toolkit" ], }, - python_requires='>=3.8', + python_requires='>=3.7,<3.12', tests_require=load_requirements("test_requirements.txt"), cmdclass={'test': PyTest}, test_suite='', @@ -133,6 +133,7 @@ setup( 'License :: OSI Approved :: GNU General Public License (GPL)', 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', diff --git a/tox.ini b/tox.ini index 0c858fdf..eab3d6e3 100644 --- a/tox.ini +++ b/tox.ini @@ -4,10 +4,11 @@ testpaths = tests [tox] -envlist = py38, py39, py310, py311 +envlist = py37, py38, py39, py310, py311 [gh-actions] python = + 3.7: py37 3.8: py38 3.9: py39 3.10: py310