Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: adding python 3.13 (and np 2.0) to tox and CI #567

Merged
merged 2 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ jobs:
prefix: ''

- os: ubuntu-latest
python: '3.12'
tox_env: 'py312-test'
python: '3.13'
tox_env: 'py313-test'
allow_failure: false
prefix: ''

Expand Down Expand Up @@ -98,8 +98,8 @@ jobs:
prefix: ''

- os: ubuntu-latest
python: '3.12'
tox_env: 'py312-test-devdeps'
python: '3.13'
tox_env: 'py313-test-devdeps'
toxposargs: --remote-data=any
allow_failure: true
prefix: '(Allowed failure)'
Expand All @@ -113,6 +113,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- name: Install base dependencies
run: python -m pip install --upgrade pip setuptools tox
- name: Print Python, pip, setuptools, and tox versions
Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
py{310,311,312}-test{,-alldeps,-devdeps,-oldestdeps,-devinfra}{,-cov}
py{310,311,312}-test-numpy{123,124,125,126}
py{310,311,312,313}-test{,-alldeps,-devdeps,-oldestdeps,-devinfra}{,-cov}
py{310,311,312,313}-test-numpy{123,124,125,126,200}
build_docs
linkcheck
codestyle
Expand Down Expand Up @@ -44,6 +44,7 @@ description =
numpy124: with numpy 1.24.*
numpy125: with numpy 1.25.*
numpy126: with numpy 1.26.*
numpy200: with numpy 2.0.*
casa: with casatools and casatasks

# The following provides some specific pinnings for key packages
Expand All @@ -54,6 +55,7 @@ deps =
numpy124: numpy==1.24.*
numpy125: numpy==1.25.*
numpy126: numpy==1.26.*
numpy200: numpy==2.0.*

casa: :NRAO:casatools
casa: :NRAO:casatasks
Expand Down