From f499e4350c98a16ba64ddbb4bf898794aaa67992 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Fri, 2 Aug 2024 09:33:44 +0200 Subject: [PATCH] tox: Update tested python versions Keep 3.6 for openSUSE Leap/SLE. Use more recent versions available in openSUSE Tumbleweed as well as ubuntu-latest. --- .github/workflows/python-package.yaml | 8 ++------ tox.ini | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-package.yaml b/.github/workflows/python-package.yaml index 50c1091..9239ac5 100644 --- a/.github/workflows/python-package.yaml +++ b/.github/workflows/python-package.yaml @@ -10,12 +10,8 @@ jobs: matrix: python-version: - '3.6' - - '3.7' - - '3.8' - - '3.9' - - '3.10' - '3.11' - - '3.12.0-alpha - 3.12.0' + - '3.12' include: - os: "ubuntu-latest" - os: "ubuntu-20.04" @@ -60,7 +56,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v3 with: - python-version: '3.10' + python-version: '3.12' - name: Install dependencies run: python -m pip install tox - run: python -m tox -e ${{ matrix.test-type }} diff --git a/tox.ini b/tox.ini index 7610ca7..f72a947 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = flake8,black,doctests,py{36,37,38,39,310},cov +envlist = flake8,black,doctests,py{36,311,312,313},cov deps = -rrequirements.txt skip_missing_interpreters = true