From 0048e2d035b46bc9ae69dab744483f6f7a35bab8 Mon Sep 17 00:00:00 2001 From: Greg Pauloski <18683347+gpauloski@users.noreply.github.com> Date: Wed, 6 Nov 2024 09:55:16 -0600 Subject: [PATCH] Increase minimum Python to 3.9 and test against 3.13 --- .github/workflows/tests.yml | 8 ++++---- pyproject.toml | 6 +++--- tox.ini | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5a3b131..ed81dbb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,10 +15,7 @@ jobs: matrix: include: - os: ubuntu-latest - python: 3.8 - toxenv: py38 - - os: ubuntu-latest - python: 3.9 + python: '3.9' toxenv: py39 - os: ubuntu-latest python: '3.10' @@ -29,6 +26,9 @@ jobs: - os: ubuntu-latest python: '3.12' toxenv: py312 + - os: ubuntu-latest + python: '3.13' + toxenv: py313 runs-on: ${{ matrix.os }} steps: diff --git a/pyproject.toml b/pyproject.toml index 55c52db..859c2c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ authors = [ ] description = "Foobar example package." readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.9" license = {text = "MIT"} classifiers = [ "License :: OSI Approved :: MIT License", @@ -67,7 +67,7 @@ plugins = ["covdefaults"] omit = ["examples"] [tool.mypy] -python_version = "3.10" +python_version = "3.12" check_untyped_defs = true disallow_any_generics = true disallow_incomplete_defs = true @@ -89,7 +89,7 @@ allow_untyped_defs = true [tool.ruff] line-length = 79 -target-version = "py38" +target-version = "py39" [tool.ruff.format] indent-style = "space" diff --git a/tox.ini b/tox.ini index 00c0db6..3250f1c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38, py39, py310, py311, py312, pre-commit, docs +envlist = py39, py310, py311, py312, py313, pre-commit, docs [testenv] extras = dev