From 9a6d96d77e8a6eca841ea94798798352b0cc708e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=2E=20Moritz=20G=C3=BCnther?= Date: Mon, 20 May 2024 13:49:44 -0400 Subject: [PATCH] Add test run on Python 3.12 Running the CI only on 3.10 seems old. Let's add a newer version with newer numpy etc. to the mix. --- .github/workflows/tlr_tests.yml | 13 +++++++++---- tox.ini | 4 ++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tlr_tests.yml b/.github/workflows/tlr_tests.yml index e24b1cd..0790afd 100644 --- a/.github/workflows/tlr_tests.yml +++ b/.github/workflows/tlr_tests.yml @@ -52,10 +52,15 @@ jobs: # python: 3.7 # toxenv: py37-test-oldestdeps - # - name: Python 3.8 with latest dev versions of key dependencies - # os: ubuntu-latest - # python: 3.8 - # toxenv: py38-test-devdeps + - name: Newest Python with latest dev versions of key dependencies + os: ubuntu-latest + python: 3.12 + toxenv: py312-test-devdeps + + # - name: Test building of Sphinx docs + # os: ubuntu-latest + # python: 3.x + # toxenv: linkcheck # - name: Test building of Sphinx docs # os: ubuntu-latest diff --git a/tox.ini b/tox.ini index 2e6e729..1e843f7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{39,310}-test{,-alldeps,-devdeps}{,-cov} + py{39,310,311,312}-test{,-alldeps,-devdeps}{,-cov} py{39,310}-test-numpy{117,118} py{39,310}-test-astropy{51,lts} build_docs @@ -57,7 +57,7 @@ deps = astropy40: astropy==4.0.* astropylts: astropy==4.0.* - devdeps: :NIGHTLY:numpy + devdeps: numpy>=0.0.dev0 devdeps: git+https://github.com/astropy/astropy.git#egg=astropy # The following indicates which extras_require from setup.cfg will be installed