Skip to content

Commit 05b0d0e

Browse files
committed
Switch to Python 3.13 for running all tests
1 parent d4f5ed0 commit 05b0d0e

File tree

4 files changed

+66
-33
lines changed

4 files changed

+66
-33
lines changed

.github/workflows/build.yml

+32-16
Original file line numberDiff line numberDiff line change
@@ -24,39 +24,39 @@ jobs:
2424
matrix:
2525
include:
2626
- os: ubuntu-latest
27-
python-version: "3.12"
27+
python-version: "3.13"
2828
TEST_FILES: tests/test_actionAngle.py
2929
REQUIRES_PYNBODY: false
3030
REQUIRES_ASTROPY: false
3131
REQUIRES_ASTROQUERY: false
3232
REQUIRES_NUMBA: false
3333
REQUIRES_JAX: false
3434
- os: ubuntu-latest
35-
python-version: "3.12"
35+
python-version: "3.13"
3636
TEST_FILES: tests/test_sphericaldf.py
3737
REQUIRES_PYNBODY: false
3838
REQUIRES_ASTROPY: false
3939
REQUIRES_ASTROQUERY: false
4040
REQUIRES_NUMBA: false
4141
REQUIRES_JAX: true
4242
- os: ubuntu-latest
43-
python-version: "3.12"
43+
python-version: "3.13"
4444
TEST_FILES: tests/test_actionAngleTorus.py tests/test_conversion.py tests/test_galpypaper.py tests/test_import.py tests/test_interp_potential.py tests/test_kuzminkutuzov.py tests/test_util.py
4545
REQUIRES_PYNBODY: false
4646
REQUIRES_ASTROPY: false
4747
REQUIRES_ASTROQUERY: false
4848
REQUIRES_NUMBA: false
4949
REQUIRES_JAX: false
5050
- os: ubuntu-latest
51-
python-version: "3.12"
51+
python-version: "3.13"
5252
TEST_FILES: tests/test_SpiralArmsPotential.py tests/test_potential.py tests/test_scf.py tests/test_snapshotpotential.py
5353
REQUIRES_PYNBODY: true
5454
REQUIRES_ASTROPY: false
5555
REQUIRES_ASTROQUERY: false
5656
REQUIRES_NUMBA: false
5757
REQUIRES_JAX: false
5858
- os: ubuntu-latest
59-
python-version: "3.12"
59+
python-version: "3.13"
6060
TEST_FILES: tests/test_quantity.py tests/test_coords.py
6161
REQUIRES_PYNBODY: false
6262
# needs to be separate for different config
@@ -65,69 +65,85 @@ jobs:
6565
REQUIRES_NUMBA: false
6666
REQUIRES_JAX: false
6767
- os: ubuntu-latest
68-
python-version: "3.12"
68+
python-version: "3.13"
6969
TEST_FILES: tests/test_orbit.py -k 'test_energy_jacobi_conservation or from_name'
7070
REQUIRES_PYNBODY: true
7171
REQUIRES_ASTROPY: true
7272
REQUIRES_ASTROQUERY: true
7373
REQUIRES_NUMBA: false
7474
REQUIRES_JAX: false
7575
- os: ubuntu-latest
76-
python-version: "3.12"
76+
python-version: "3.13"
7777
TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'
7878
REQUIRES_PYNBODY: true
7979
REQUIRES_ASTROPY: true
8080
REQUIRES_ASTROQUERY: true
8181
REQUIRES_NUMBA: false
8282
REQUIRES_JAX: false
8383
- os: ubuntu-latest
84-
python-version: "3.12"
84+
python-version: "3.13"
8585
TEST_FILES: tests/test_evolveddiskdf.py
8686
REQUIRES_PYNBODY: false
8787
REQUIRES_ASTROPY: false
8888
REQUIRES_ASTROQUERY: false
8989
REQUIRES_NUMBA: false
9090
REQUIRES_JAX: false
9191
- os: ubuntu-latest
92-
python-version: "3.12"
92+
python-version: "3.13"
9393
TEST_FILES: tests/test_jeans.py tests/test_dynamfric.py
9494
REQUIRES_PYNBODY: false
9595
REQUIRES_ASTROPY: false
9696
REQUIRES_ASTROQUERY: false
9797
REQUIRES_NUMBA: false
9898
REQUIRES_JAX: false
9999
- os: ubuntu-latest
100-
python-version: "3.12"
100+
python-version: "3.13"
101101
TEST_FILES: tests/test_qdf.py tests/test_pv2qdf.py tests/test_streamgapdf_impulse.py tests/test_noninertial.py
102102
REQUIRES_PYNBODY: false
103103
REQUIRES_ASTROPY: false
104104
REQUIRES_ASTROQUERY: false
105105
REQUIRES_NUMBA: true
106106
REQUIRES_JAX: false
107107
- os: ubuntu-latest
108-
python-version: "3.12"
108+
python-version: "3.13"
109109
TEST_FILES: tests/test_streamgapdf.py
110110
REQUIRES_PYNBODY: false
111111
REQUIRES_ASTROPY: false
112112
REQUIRES_ASTROQUERY: false
113113
REQUIRES_NUMBA: false
114114
REQUIRES_JAX: false
115115
- os: ubuntu-latest
116-
python-version: "3.12"
116+
python-version: "3.13"
117117
TEST_FILES: tests/test_diskdf.py
118118
REQUIRES_PYNBODY: false
119119
REQUIRES_ASTROPY: false
120120
REQUIRES_ASTROQUERY: false
121121
REQUIRES_NUMBA: false
122122
REQUIRES_JAX: false
123123
- os: ubuntu-latest
124-
python-version: "3.12"
124+
python-version: "3.13"
125125
TEST_FILES: tests/test_streamdf.py tests/test_streamspraydf.py
126126
REQUIRES_PYNBODY: false
127127
REQUIRES_ASTROPY: false
128128
REQUIRES_ASTROQUERY: false
129129
REQUIRES_NUMBA: false
130130
REQUIRES_JAX: false
131+
- os: ubuntu-latest
132+
python-version: "3.12"
133+
TEST_FILES: tests/test_orbit.py -k 'test_energy_jacobi_conservation or from_name'
134+
REQUIRES_PYNBODY: true
135+
REQUIRES_ASTROPY: true
136+
REQUIRES_ASTROQUERY: true
137+
REQUIRES_NUMBA: false
138+
REQUIRES_JAX: false
139+
- os: ubuntu-latest
140+
python-version: "3.12"
141+
TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'
142+
REQUIRES_PYNBODY: true
143+
REQUIRES_ASTROPY: true
144+
REQUIRES_ASTROQUERY: true
145+
REQUIRES_NUMBA: false
146+
REQUIRES_JAX: false
131147
- os: ubuntu-latest
132148
python-version: "3.11"
133149
TEST_FILES: tests/test_orbit.py -k 'test_energy_jacobi_conservation or from_name'
@@ -193,23 +209,23 @@ jobs:
193209
REQUIRES_NUMBA: false
194210
REQUIRES_JAX: false
195211
- os: macos-13
196-
python-version: "3.12"
212+
python-version: "3.13"
197213
TEST_FILES: tests/test_orbit.py -k 'test_energy_jacobi_conservation or from_name'
198214
REQUIRES_PYNBODY: true
199215
REQUIRES_ASTROPY: true
200216
REQUIRES_ASTROQUERY: true
201217
REQUIRES_NUMBA: false
202218
REQUIRES_JAX: false
203219
- os: macos-13
204-
python-version: "3.12"
220+
python-version: "3.13"
205221
TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'
206222
REQUIRES_PYNBODY: true
207223
REQUIRES_ASTROPY: true
208224
REQUIRES_ASTROQUERY: true
209225
REQUIRES_NUMBA: false
210226
REQUIRES_JAX: false
211227
env:
212-
PYTHON_COVREPORTS_VERSION: "3.12"
228+
PYTHON_COVREPORTS_VERSION: "3.13"
213229
steps:
214230
- uses: actions/checkout@v4
215231
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/build_windows.yml

+29-13
Original file line numberDiff line numberDiff line change
@@ -24,39 +24,39 @@ jobs:
2424
matrix:
2525
include:
2626
- os: windows-latest
27-
python-version: "3.12"
27+
python-version: "3.13"
2828
TEST_FILES: tests/test_actionAngle.py
2929
REQUIRES_PYNBODY: false
3030
REQUIRES_ASTROPY: false
3131
REQUIRES_ASTROQUERY: false
3232
REQUIRES_NUMBA: false
3333
REQUIRES_JAX: false
3434
- os: windows-latest
35-
python-version: "3.12"
35+
python-version: "3.13"
3636
TEST_FILES: tests/test_sphericaldf.py
3737
REQUIRES_PYNBODY: false
3838
REQUIRES_ASTROPY: false
3939
REQUIRES_ASTROQUERY: false
4040
REQUIRES_NUMBA: false
4141
REQUIRES_JAX: false
4242
- os: windows-latest
43-
python-version: "3.12"
43+
python-version: "3.13"
4444
TEST_FILES: tests/test_conversion.py tests/test_galpypaper.py tests/test_import.py tests/test_interp_potential.py tests/test_kuzminkutuzov.py tests/test_util.py
4545
REQUIRES_PYNBODY: false
4646
REQUIRES_ASTROPY: false
4747
REQUIRES_ASTROQUERY: false
4848
REQUIRES_NUMBA: false
4949
REQUIRES_JAX: false
5050
- os: windows-latest
51-
python-version: "3.12"
51+
python-version: "3.13"
5252
TEST_FILES: tests/test_SpiralArmsPotential.py tests/test_potential.py tests/test_scf.py
5353
REQUIRES_PYNBODY: false
5454
REQUIRES_ASTROPY: false
5555
REQUIRES_ASTROQUERY: false
5656
REQUIRES_NUMBA: false
5757
REQUIRES_JAX: false
5858
- os: windows-latest
59-
python-version: "3.12"
59+
python-version: "3.13"
6060
TEST_FILES: tests/test_quantity.py tests/test_coords.py
6161
REQUIRES_PYNBODY: false
6262
# needs to be separate for different config
@@ -65,69 +65,85 @@ jobs:
6565
REQUIRES_NUMBA: false
6666
REQUIRES_JAX: false
6767
- os: windows-latest
68-
python-version: "3.12"
68+
python-version: "3.13"
6969
TEST_FILES: tests/test_orbit.py -k test_energy_jacobi_conservation
7070
REQUIRES_PYNBODY: false
7171
REQUIRES_ASTROPY: true
7272
REQUIRES_ASTROQUERY: true
7373
REQUIRES_NUMBA: false
7474
REQUIRES_JAX: false
7575
- os: windows-latest
76-
python-version: "3.12"
76+
python-version: "3.13"
7777
TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'
7878
REQUIRES_PYNBODY: false
7979
REQUIRES_ASTROPY: true
8080
REQUIRES_ASTROQUERY: true
8181
REQUIRES_NUMBA: false
8282
REQUIRES_JAX: false
8383
- os: windows-latest
84-
python-version: "3.12"
84+
python-version: "3.13"
8585
TEST_FILES: tests/test_evolveddiskdf.py
8686
REQUIRES_PYNBODY: false
8787
REQUIRES_ASTROPY: false
8888
REQUIRES_ASTROQUERY: false
8989
REQUIRES_NUMBA: false
9090
REQUIRES_JAX: false
9191
- os: windows-latest
92-
python-version: "3.12"
92+
python-version: "3.13"
9393
TEST_FILES: tests/test_jeans.py tests/test_dynamfric.py
9494
REQUIRES_PYNBODY: false
9595
REQUIRES_ASTROPY: false
9696
REQUIRES_ASTROQUERY: false
9797
REQUIRES_NUMBA: false
9898
REQUIRES_JAX: false
9999
- os: windows-latest
100-
python-version: "3.12"
100+
python-version: "3.13"
101101
TEST_FILES: tests/test_qdf.py tests/test_pv2qdf.py tests/test_streamgapdf_impulse.py tests/test_noninertial.py
102102
REQUIRES_PYNBODY: false
103103
REQUIRES_ASTROPY: false
104104
REQUIRES_ASTROQUERY: false
105105
REQUIRES_NUMBA: true
106106
REQUIRES_JAX: false
107107
- os: windows-latest
108-
python-version: "3.12"
108+
python-version: "3.13"
109109
TEST_FILES: tests/test_streamgapdf.py
110110
REQUIRES_PYNBODY: false
111111
REQUIRES_ASTROPY: false
112112
REQUIRES_ASTROQUERY: false
113113
REQUIRES_NUMBA: false
114114
REQUIRES_JAX: false
115115
- os: windows-latest
116-
python-version: "3.12"
116+
python-version: "3.13"
117117
TEST_FILES: tests/test_diskdf.py
118118
REQUIRES_PYNBODY: false
119119
REQUIRES_ASTROPY: false
120120
REQUIRES_ASTROQUERY: false
121121
REQUIRES_NUMBA: false
122122
REQUIRES_JAX: false
123123
- os: windows-latest
124-
python-version: "3.12"
124+
python-version: "3.13"
125125
TEST_FILES: tests/test_streamdf.py tests/test_streamspraydf.py
126126
REQUIRES_PYNBODY: false
127127
REQUIRES_ASTROPY: false
128128
REQUIRES_ASTROQUERY: false
129129
REQUIRES_NUMBA: false
130130
REQUIRES_JAX: false
131+
- os: windows-latest
132+
python-version: "3.12"
133+
TEST_FILES: tests/test_orbit.py -k test_energy_jacobi_conservation
134+
REQUIRES_PYNBODY: false
135+
REQUIRES_ASTROPY: true
136+
REQUIRES_ASTROQUERY: true
137+
REQUIRES_NUMBA: false
138+
REQUIRES_JAX: false
139+
- os: windows-latest
140+
python-version: "3.12"
141+
TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'
142+
REQUIRES_PYNBODY: false
143+
REQUIRES_ASTROPY: true
144+
REQUIRES_ASTROQUERY: true
145+
REQUIRES_NUMBA: false
146+
REQUIRES_JAX: false
131147
- os: windows-latest
132148
python-version: "3.11"
133149
TEST_FILES: tests/test_orbit.py -k test_energy_jacobi_conservation

.github/workflows/wheels.yml

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ jobs:
105105
- ["cp310","3.10"]
106106
- ["cp311","3.11"]
107107
- ["cp312","3.12"]
108+
- ["cp313","3.13"]
108109
steps:
109110
- uses: actions/checkout@v4
110111
- run: mkdir wheelhouse

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ FAQ](http://docs.galpy.org/en/latest/installation.html#installation-faq).
4646
PYTHON VERSIONS AND DEPENDENCIES
4747
================================
4848

49-
`galpy` supports Python 3. Specifically, galpy supports Python 3.8, 3.9, 3.10, 3.11,
50-
and 3.12. GitHub Actions CI builds regularly check support for
51-
Python 3.12 (and of 3.8, 3.9, 3.10, and 3.11 using a more limited, core set of tests)
52-
on Linux and Windows (and 3.12 on Mac OS). Python 2.7 is no longer supported.
49+
`galpy` supports Python 3. Specifically, galpy supports Python 3.8, 3.9, 3.10, 3.11, 3.12
50+
and 3.13. GitHub Actions CI builds regularly check support for
51+
Python 3.13 (and of 3.8, 3.9, 3.10, 3.11, and 3.12 using a more limited, core set of tests)
52+
on Linux and Windows (and 3.13 on Mac OS). Python 2.7 is no longer supported.
5353

5454
This package requires [Numpy](https://numpy.org/),
5555
[Scipy](http://www.scipy.org/), and

0 commit comments

Comments
 (0)