From d2cddeb3c254927d7ea202ad97f31b0246bf7cd6 Mon Sep 17 00:00:00 2001 From: Adam Reeve Date: Tue, 17 Sep 2024 10:37:09 +1200 Subject: [PATCH] Update supported Python versions (#334) --- .github/workflows/ci-cd.yml | 6 +++--- setup.cfg | 2 +- tox.ini | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 8da7a0c..81970d1 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -15,7 +15,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.12' - name: Install tox run: pip install tox - name: Run pycodestyle @@ -29,7 +29,7 @@ jobs: strategy: fail-fast: false matrix: - python: ['3.8', '3.9', '3.10', '3.11'] + python: ['3.9', '3.10', '3.11', '3.12'] os: [macos-latest, ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -69,7 +69,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.12' - name: Create package run: python setup.py sdist - name: Publish package diff --git a/setup.cfg b/setup.cfg index 178729f..b128e19 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,10 +12,10 @@ classifiers = Operating System :: OS Independent Programming Language :: Python Programming Language :: Python :: 3 - 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 Topic :: Scientific/Engineering License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL) Intended Audience :: Science/Research diff --git a/tox.ini b/tox.ini index cf119cc..e0b3fa5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{37,38,39,310},pycodestyle +envlist = py{39,310,311,312},pycodestyle [pycodestyle] max-line-length = 120