Skip to content

Commit a48a219

Browse files
authored
switch py3 to py313 (#598)
1 parent f199e1d commit a48a219

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,24 @@ jobs:
2424
coverage: codecov
2525
- linux: py311
2626
- linux: py312
27-
# `tox` does not currently respect `requires-python` versions when creating testing environments;
28-
# if this breaks, add an upper pin to `requires-python` and revert this py3 to the latest working version
29-
- linux: py3-cov
27+
- linux: py313-cov
3028
coverage: codecov
31-
- macos: py3
32-
- linux: py3-withromancal-cov
29+
- macos: py313
30+
- linux: py313-withromancal-cov
3331
coverage: codecov
32+
# `tox` does not currently respect `requires-python` versions when creating testing environments;
33+
# if this breaks, add an upper pin to `requires-python` and revert this py3 to the latest working version
34+
# - linux: py3-cov
35+
# coverage: codecov
36+
# - macos: py3
37+
# - linux: py3-withromancal-cov
38+
# coverage: codecov
3439
3540
test_upstream:
3641
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@28e947497bed4d6ec3fa1d66d198e95a1d17bc63 # v2.2.1
3742
with:
3843
envs: |
39-
- linux: py3-rad
44+
- linux: py313-rad
4045
4146
environment:
4247
runs-on: ubuntu-latest
@@ -59,4 +64,4 @@ jobs:
5964
cache-path: ${{ needs.environment.outputs.data_path }}/crds
6065
cache-key: crds-${{ needs.crds_contexts.outputs.roman }}
6166
envs: |
62-
- linux: py3-romancal
67+
- linux: py313-romancal

.github/workflows/tests_extra.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ jobs:
2222
envs: |
2323
- macos: py311
2424
- macos: py312
25+
- macos: py313
2526
- macos: py3-devdeps
2627
- linux: py3-devdeps

pyproject.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,7 @@ license-files = ["LICENSE"]
2626
dynamic = ["version"]
2727

2828
[project.optional-dependencies]
29-
test = [
30-
"pytest >=6.0.0",
31-
"pytest-doctestplus",
32-
"pytest-doctestplus >=1.2.1",
33-
"pandas >=2.2.3",
34-
]
29+
test = ["pytest >=6.0.0", "pytest-doctestplus >=1.2.1", "pandas >=2.2.3"]
3530
docs = ["sphinx", "sphinx-automodapi", "sphinx-rtd-theme", "sphinx-astropy"]
3631

3732
[project.urls]

0 commit comments

Comments
 (0)