From bd0ca4e00bea032a162a10b937f4989be09c5778 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Mon, 26 Aug 2024 21:47:30 -0700 Subject: [PATCH 1/2] MAINT: adding Python 3.13 to CI --- .github/workflows/ci_devtests.yml | 13 +++++++++++++ tox.ini | 7 ++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_devtests.yml b/.github/workflows/ci_devtests.yml index 62900a028..e38e040b8 100644 --- a/.github/workflows/ci_devtests.yml +++ b/.github/workflows/ci_devtests.yml @@ -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 diff --git a/tox.ini b/tox.ini index cba9f77a4..c0498ec25 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -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 @@ -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 From e0684d1fa388b109bfe1539dfee77c4720fbb839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Tue, 27 Aug 2024 12:40:27 -0700 Subject: [PATCH 2/2] CI: update action's version --- .github/workflows/ci_devtests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_devtests.yml b/.github/workflows/ci_devtests.yml index e38e040b8..6a36d13e4 100644 --- a/.github/workflows/ci_devtests.yml +++ b/.github/workflows/ci_devtests.yml @@ -32,7 +32,7 @@ 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