Skip to content

Commit a19aac1

Browse files
committed
MAINT: adding Python 3.13 to CI
1 parent 471053f commit a19aac1

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/ci_devtests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ jobs:
3636
toxenv: py312-test-alldeps-devdeps-cov
3737
toxargs: -v
3838

39+
- name: Python 3.13
40+
os: ubuntu-latest
41+
python: '3.13-dev'
42+
toxenv: py313-test
43+
toxargs: -v
44+
3945
steps:
4046
- name: Checkout code
4147
uses: actions/checkout@v4

tox.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{39,310,311,312}-test{,-alldeps,-oldestdeps,-devdeps,-predeps}{,-online}{,-cov}
3+
py{39,310,311,312,313}-test{,-alldeps,-oldestdeps,-devdeps,-predeps}{,-online}{,-cov}
44
codestyle
55
linkcheck
66
build_docs
@@ -24,6 +24,8 @@ setenv =
2424
PYTEST_ARGS = ''
2525
online: PYTEST_ARGS = --remote-data=any --reruns=1 --reruns-delay 10 -m "not bigdata"
2626
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple https://pypi.anaconda.org/astropy/simple https://pypi.anaconda.org/liberfa/simple
27+
# astropy doesn't yet have a 3.13 compatible release
28+
py313: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/astropy/simple https://pypi.anaconda.org/liberfa/simple
2729

2830
deps =
2931
devdeps: numpy>=0.0.dev0
@@ -32,6 +34,9 @@ deps =
3234
devdeps: pyerfa>=0.0.dev0
3335
devdeps: git+https://github.com/astropy/pyvo.git#egg=pyvo
3436

37+
# astropy doesn't yet have a 3.13 compatible release
38+
py313: astropy>0.0dev0
39+
3540
# mpl while not a dependency, it's required for the tests, and would pull up a newer numpy version if not pinned.
3641
# And pillow should be pinned as well, otherwise a too new version is pulled that is not compatible with old np.
3742

0 commit comments

Comments
 (0)