Skip to content

Commit be342ff

Browse files
committed
Bump PyTensor and support Numpy>2.0 and Python=3.13
1 parent 2772464 commit be342ff

12 files changed

+36
-26
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
matrix:
5757
os: [ubuntu-20.04]
5858
floatx: [float64]
59-
python-version: ["3.12"]
59+
python-version: ["3.13"]
6060
test-subset:
6161
- |
6262
tests/test_util.py
@@ -230,7 +230,7 @@ jobs:
230230
matrix:
231231
os: [macos-latest]
232232
floatx: [float64]
233-
python-version: ["3.12"]
233+
python-version: ["3.13"]
234234
test-subset:
235235
- |
236236
tests/sampling/test_parallel.py
@@ -288,7 +288,7 @@ jobs:
288288
matrix:
289289
os: [ubuntu-20.04]
290290
floatx: [float64]
291-
python-version: ["3.12"]
291+
python-version: ["3.13"]
292292
test-subset:
293293
- tests/sampling/test_jax.py tests/sampling/test_mcmc_external.py
294294
fail-fast: false
@@ -334,7 +334,7 @@ jobs:
334334
matrix:
335335
os: [windows-latest]
336336
floatx: [float32]
337-
python-version: ["3.12"]
337+
python-version: ["3.13"]
338338
test-subset:
339339
- tests/sampling/test_mcmc.py tests/ode/test_ode.py tests/ode/test_utils.py tests/distributions/test_transform.py
340340
fail-fast: false

conda-envs/environment-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
- numpy>=1.25.0
1313
- pandas>=0.24.0
1414
- pip
15-
- pytensor>=2.26.2,<2.28
15+
- pytensor>=2.28.1,<2.29
1616
- python-graphviz
1717
- networkx
1818
- scipy>=1.4.1
@@ -37,7 +37,7 @@ dependencies:
3737
- sphinxext-rediraffe
3838
- watermark
3939
- sphinx-remove-toctrees
40-
- mypy=1.5.1
40+
- mypy=1.15.0
4141
- types-cachetools
4242
- pip:
4343
- git+https://github.com/pymc-devs/pymc-sphinx-theme

conda-envs/environment-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
- numpy>=1.25.0
1212
- pandas>=0.24.0
1313
- pip
14-
- pytensor>=2.26.2,<2.28
14+
- pytensor>=2.28.1,<2.29
1515
- python-graphviz
1616
- rich>=13.7.1
1717
- scipy>=1.4.1

conda-envs/environment-jax.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies:
2020
- numpyro>=0.8.0
2121
- pandas>=0.24.0
2222
- pip
23-
- pytensor>=2.26.2,<2.28
23+
- pytensor>=2.28.1,<2.29
2424
- python-graphviz
2525
- networkx
2626
- rich>=13.7.1
@@ -33,7 +33,7 @@ dependencies:
3333
- pre-commit>=2.8.0
3434
- pytest-cov>=2.5
3535
- pytest>=3.0
36-
- mypy=1.5.1
36+
- mypy=1.15.0
3737
- types-cachetools
3838
- pip:
3939
- numdifftools>=0.9.40

conda-envs/environment-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies:
1414
- pandas>=0.24.0
1515
- pip
1616
- polyagamma
17-
- pytensor>=2.26.2,<2.28
17+
- pytensor>=2.28.1,<2.29
1818
- python-graphviz
1919
- networkx
2020
- rich>=13.7.1
@@ -27,7 +27,7 @@ dependencies:
2727
- pre-commit>=2.8.0
2828
- pytest-cov>=2.5
2929
- pytest>=3.0
30-
- mypy=1.5.1
30+
- mypy=1.15.0
3131
- types-cachetools
3232
- pip:
3333
- numdifftools>=0.9.40

conda-envs/windows-environment-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
- numpy>=1.25.0
1313
- pandas>=0.24.0
1414
- pip
15-
- pytensor>=2.26.2,<2.28
15+
- pytensor>=2.28.1,<2.29
1616
- python-graphviz
1717
- networkx
1818
- rich>=13.7.1
@@ -35,7 +35,7 @@ dependencies:
3535
- sphinx>=1.5
3636
- watermark
3737
- sphinx-remove-toctrees
38-
- mypy=1.5.1
38+
- mypy=1.15.0
3939
- types-cachetools
4040
- pip:
4141
- git+https://github.com/pymc-devs/pymc-sphinx-theme

conda-envs/windows-environment-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies:
1515
- pandas>=0.24.0
1616
- pip
1717
- polyagamma
18-
- pytensor>=2.26.2,<2.28
18+
- pytensor>=2.28.1,<2.29
1919
- python-graphviz
2020
- networkx
2121
- rich>=13.7.1
@@ -28,7 +28,7 @@ dependencies:
2828
- pre-commit>=2.8.0
2929
- pytest-cov>=2.5
3030
- pytest>=3.0
31-
- mypy=1.5.1
31+
- mypy=1.15.0
3232
- types-cachetools
3333
- pip:
3434
- numdifftools>=0.9.40

requirements-dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ git+https://github.com/pymc-devs/pymc-sphinx-theme
88
ipython>=7.16
99
jupyter-sphinx
1010
mcbackend>=0.4.0
11-
mypy==1.5.1
11+
mypy==1.15.0
1212
myst-nb<=1.0.0
1313
numdifftools>=0.9.40
1414
numpy>=1.25.0
1515
numpydoc
1616
pandas>=0.24.0
1717
polyagamma
1818
pre-commit>=2.8.0
19-
pytensor>=2.26.2,<2.28
19+
pytensor>=2.28.1,<2.29
2020
pytest-cov>=2.5
2121
pytest>=3.0
2222
rich>=13.7.1

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cachetools>=4.2.1
33
cloudpickle
44
numpy>=1.25.0
55
pandas>=0.24.0
6-
pytensor>=2.26.1,<2.28
6+
pytensor>=2.28.1,<2.29
77
rich>=13.7.1
88
scipy>=1.4.1
99
threadpoolctl>=3.1.0,<4.0.0

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"Programming Language :: Python :: 3.10",
3434
"Programming Language :: Python :: 3.11",
3535
"Programming Language :: Python :: 3.12",
36+
"Programming Language :: Python :: 3.13",
3637
"License :: OSI Approved :: Apache Software License",
3738
"Intended Audience :: Science/Research",
3839
"Topic :: Scientific/Engineering",

0 commit comments

Comments
 (0)