Skip to content

Commit

Permalink
MAINT: adding Python 3.13 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz committed Aug 27, 2024
1 parent 01f2be5 commit 2fdbbf6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/ci_devtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,16 @@ jobs:
with:
file: ./coverage.xml
verbose: true

py313:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13-dev"
- name: Install tox
run: python -m pip install --upgrade tox
- name: Run tests against dev dependencies
run: tox -e py313-test
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# as oldestdeps and devastropy might not support the full python range
# listed here
envlist =
py{38,39,310,311,312}-test{,-alldeps,-oldestdeps,-devdeps}{,-online}{,-cov}
py{38,39,310,311,312,313}-test{,-alldeps,-oldestdeps,-devdeps}{,-online}{,-cov}
linkcheck
codestyle
build_docs
Expand All @@ -26,6 +26,8 @@ setenv =
PYTEST_ARGS = -rsxf --show-capture=no
online: PYTEST_ARGS = --remote-data=any --reruns=1 --reruns-delay 10 -rsxf --show-capture=no
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple https://pypi.anaconda.org/liberfa/simple https://pypi.anaconda.org/astropy/simple
# astropy doesn't yet have a 3.13 compatible release
py313: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/liberfa/simple https://pypi.anaconda.org/astropy/simple

deps =
cov: coverage
Expand All @@ -34,6 +36,9 @@ deps =
devdeps: pyerfa>=0.0.dev0
devdeps: astropy>=0.0.dev0

# astropy doesn't yet have a 3.13 compatible release
py313: astropy>=0.0dev0

oldestdeps: astropy==4.1
# We set a suitably old numpy along with an old astropy, no need to pick up
# deprecations and errors due to their unmatching versions
Expand Down

0 comments on commit 2fdbbf6

Please sign in to comment.