From 57584415980648d3d1dfa28b8466ee63c2740ef0 Mon Sep 17 00:00:00 2001 From: Richard R <58728519+rrjbca@users.noreply.github.com> Date: Tue, 24 Jan 2023 16:38:25 +0000 Subject: [PATCH] BLD: Set python latest supported version to 3.11 (#588) --- .github/workflows/compatibility.yaml | 4 ++-- .github/workflows/tests.yaml | 12 ++++++------ tox.ini | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/compatibility.yaml b/.github/workflows/compatibility.yaml index 196e0669..173187e8 100644 --- a/.github/workflows/compatibility.yaml +++ b/.github/workflows/compatibility.yaml @@ -7,8 +7,8 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python: [3.9] - toxenv: [py39-test, py39-test-dev] + python: ['3.11'] + toxenv: [py311-test, py311-test-dev] steps: - name: Checkout Repository uses: actions/checkout@v4 diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 2870ebe5..a413e0a3 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -19,8 +19,8 @@ jobs: - name: latest supported versions os: ubuntu-latest - python: 3.9 - toxenv: py39-test-all-latest-cov + python: '3.11' + toxenv: py311-test-all-latest-cov toxposargs: --cov-report=xml:${GITHUB_WORKSPACE}/coverage.xml - name: oldest supported versions @@ -30,13 +30,13 @@ jobs: - name: macOS latest supported os: macos-latest - python: 3.9 - toxenv: py39-test-latest + python: '3.11' + toxenv: py311-test-latest - name: Windows latest supported os: windows-latest - python: 3.9 - toxenv: py39-test-latest + python: '3.11' + toxenv: py311-test-latest steps: - name: Checkout Repository diff --git a/tox.ini b/tox.ini index 6c12c746..3ef0b80e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,9 @@ [tox] envlist = - py{36,37,38,39}-test{,-all}{,-dev,-latest,-oldest}{,-cov} - py{36,37,38,39}-test-numpy{116,117,118,119,120,121} - py{36,37,38,39}-test-scipy{12,13,14,15,16,17} - py{36,37,38,39}-test-astropy{40,41,42,43} + py{36,37,38,39,310,311}-test{,-all}{,-dev,-latest,-oldest}{,-cov} + py{36,37,38,39,310,311}-test-numpy{116,117,118,119,120,121} + py{36,37,38,39,310,311}-test-scipy{12,13,14,15,16,17} + py{36,37,38,39,310,311}-test-astropy{40,41,42,43} build_docs linkcheck codestyle