Skip to content

Commit

Permalink
Merge pull request #589 from bsipocz/MAINT_py313
Browse files Browse the repository at this point in the history
MAINT: adding Python 3.13 to CI
  • Loading branch information
bsipocz authored Aug 30, 2024
2 parents 4af9b46 + e0684d1 commit 3d614ff
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/ci_devtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,20 @@ jobs:
run: tox -e py312-test-devdeps-alldeps-cov

- name: Upload coverage to codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
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 3d614ff

Please sign in to comment.