Skip to content

Commit f87d1f8

Browse files
Merge pull request #320 from astro-informatics/numpy2
Switch to Python 3.13 and numpy 2
2 parents 1d1c4bb + c5fdfa2 commit f87d1f8

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/python.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ on: [push]
44

55
jobs:
66
build:
7-
87
runs-on: ubuntu-latest
98
strategy:
109
matrix:
11-
python-version: [3.11]
10+
python-version: [3.13]
1211

1312
steps:
1413
- uses: actions/checkout@v2.3.1

requirements/requirements-core.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
numpy <= 1.26.4
1+
numpy
22
setuptools==68.0.0
33
wheel==0.41.0
44
cython>=0.29.30

tests/test_flow_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def test_flows_gaussian(model):
218218
epochs = 20
219219

220220
# Initialize a PRNG key (you can use any valid key)
221-
key = jax.random.PRNGKey(0)
221+
key = jax.random.PRNGKey(10)
222222
mean = jnp.zeros(ndim)
223223
cov = jnp.eye(ndim)
224224

0 commit comments

Comments
 (0)