diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a4f1bef..5fd177e 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -20,12 +20,12 @@ jobs: fail-fast: false matrix: py: + - "3.13" - "3.12" - "3.11" - "3.10" - "3.9" - "3.8" - - "3.7" steps: - name: setup python for tox uses: actions/setup-python@v5 @@ -38,6 +38,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.py }} + allow-prereleases: true - name: setup test suite run: tox run -vv --notest --skip-missing-interpreters false -e ${{ matrix.py }} - name: run test suite diff --git a/pyproject.toml b/pyproject.toml index c3592b3..bf2eba3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ license = "MIT" maintainers = [ { name = "Bernát Gábor", email = "gaborjbernat@gmail.com" }, ] -requires-python = ">=3.7" +requires-python = ">=3.8" classifiers = [ "Development Status :: 5 - Production/Stable", "Framework :: tox", @@ -30,12 +30,12 @@ classifiers = [ "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "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", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Testing", "Topic :: Utilities", @@ -111,6 +111,9 @@ builtin = "clear,usage,en-GB_to_en-US" write-changes = true count = true +[tool.pyproject-fmt] +max_supported_python = "3.13" + [tool.coverage] html.show_contexts = true html.skip_covered = false diff --git a/tox.ini b/tox.ini index 135ae96..7e649cb 100644 --- a/tox.ini +++ b/tox.ini @@ -4,14 +4,14 @@ requires = tox-uv>=1.11 env_list = fix - py312 - py311 - py310 - py39 - py38 - py37 type readme + 3.13 + 3.12 + 3.11 + 3.10 + 3.9 + 3.8 skip_missing_interpreters = true [testenv] @@ -36,7 +36,7 @@ commands = description = run static analysis and style check using flake8 package = skip deps = - pre-commit>=3.8 + pre-commit-uv>=4.1 pass_env = HOMEPATH PROGRAMDATA