From ab0f6abf27997692f1ebbb4c33a4e0a649ca55bd Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Mon, 8 Jan 2024 11:52:00 +0100 Subject: [PATCH] CI: Exclude Python versions that don't support "tuple[...]" yet (but only "Tuple[...]". --- .github/workflows/python-test.yml | 8 +++++++- tox.ini | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index a71357b..033add4 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -27,7 +27,13 @@ jobs: max-parallel: 4 fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: + #- "3.7" + #- "3.8" + - "3.9" + - "3.10" + - "3.11" + - "3.12" steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} diff --git a/tox.ini b/tox.ini index 41427fb..efea5ce 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = format,mypy,py37,py38,py39,py310,py311 +envlist = format,mypy,py37,py38,py39,py310,py311,py312 [testenv] commands = pytest {posargs}