diff --git a/.github/workflows/ci_cron_daily.yml b/.github/workflows/ci_cron_daily.yml index 1d7da09c1..b1bb904b0 100644 --- a/.github/workflows/ci_cron_daily.yml +++ b/.github/workflows/ci_cron_daily.yml @@ -44,6 +44,14 @@ jobs: tox_env: 'py311-test-devdeps' toxposargs: --remote-data=any allow_failure: true + prefix: '(Allowed failure)' + + - os: ubuntu-latest + python: '3.12-dev' + tox_env: 'py312-test-devdeps' + toxposargs: --remote-data=any + allow_failure: true + prefix: '(Allowed failure)' steps: - name: Check out repository diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index c4ae4af86..eb57cdbfa 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -98,6 +98,13 @@ jobs: allow_failure: true prefix: '(Allowed failure)' + - os: ubuntu-latest + python: '3.12-dev' + tox_env: 'py312-test-devdeps' + toxposargs: --remote-data=any + allow_failure: true + prefix: '(Allowed failure)' + steps: - name: Check out repository uses: actions/checkout@v4 @@ -109,8 +116,7 @@ jobs: python-version: ${{ matrix.python }} - name: Install base dependencies run: | - python -m pip install --upgrade pip - python -m pip install tox + python -m pip install --upgrade pip setuptools tox - name: Print Python, pip, setuptools, and tox versions run: | python -c "import sys; print(f'Python {sys.version}')" diff --git a/tox.ini b/tox.ini index b97eabf3b..70caffd35 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = - py{39,310,311}-test{,-alldeps,-devdeps,-oldestdeps,-devinfra}{,-cov} - py{39,310,311}-test-numpy{122,123,124,125,126} + py{39,310,311,312}-test{,-alldeps,-devdeps,-oldestdeps,-devinfra}{,-cov} + py{39,310,311,312}-test-numpy{122,123,124,125,126} build_docs linkcheck codestyle @@ -72,7 +72,9 @@ deps = devdeps: scikit-learn>=0.0.dev0 devdeps: matplotlib>=0.0.dev0 devdeps: astropy>=0.0.dev0 - devdeps: git+https://github.com/spacetelescope/gwcs.git + # TEMPORARY: gwcs used deprecated pkg_resources + # https://github.com/spacetelescope/gwcs/pull/478 + # devdeps: git+https://github.com/spacetelescope/gwcs.git # Latest developer version of infrastructure packages. devinfra: git+https://github.com/pytest-dev/pytest.git