Skip to content

Commit 1a07850

Browse files
committed
Bump PyTensor dependency and test on 3.14
Co-authored-by: PatrickRobotham<[email protected]>
1 parent cadb97a commit 1a07850

File tree

11 files changed

+15
-13
lines changed

11 files changed

+15
-13
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
matrix:
5959
os: [ubuntu-latest]
6060
floatx: [float64]
61-
python-version: ["3.13"]
61+
python-version: ["3.14"]
6262
test-subset:
6363
- |
6464
tests/test_util.py
@@ -237,7 +237,7 @@ jobs:
237237
matrix:
238238
os: [macos-latest]
239239
floatx: [float64]
240-
python-version: ["3.13"]
240+
python-version: ["3.14"]
241241
test-subset:
242242
- |
243243
tests/sampling/test_parallel.py
@@ -295,7 +295,7 @@ jobs:
295295
matrix:
296296
os: [ubuntu-latest]
297297
floatx: [float64]
298-
python-version: ["3.13"]
298+
python-version: ["3.14"]
299299
test-subset:
300300
- |
301301
tests/distributions/test_random_alternative_backends.py
@@ -345,7 +345,7 @@ jobs:
345345
matrix:
346346
os: [windows-latest]
347347
floatx: [float32]
348-
python-version: ["3.13"]
348+
python-version: ["3.14"]
349349
test-subset:
350350
- tests/sampling/test_mcmc.py tests/ode/test_ode.py tests/ode/test_utils.py tests/distributions/test_transform.py
351351
fail-fast: false

conda-envs/environment-alternative-backends.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies:
2222
- numpyro>=0.8.0
2323
- pandas>=0.24.0
2424
- pip
25-
- pytensor>=2.35.0,<2.36
25+
- pytensor>=2.36.0,<2.37
2626
- python-graphviz
2727
- networkx
2828
- rich>=13.7.1

conda-envs/environment-dev.yml

Lines changed: 1 addition & 1 deletion
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.35.0,<2.36
15+
- pytensor>=2.36.0,<2.37
1616
- python-graphviz
1717
- networkx
1818
- scipy>=1.4.1

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.35.0,<2.36
14+
- pytensor>=2.36.0,<2.37
1515
- python-graphviz
1616
- rich>=13.7.1
1717
- scipy>=1.4.1

conda-envs/environment-test.yml

Lines changed: 1 addition & 1 deletion
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.35.0,<2.36
17+
- pytensor>=2.36.0,<2.37
1818
- python-graphviz
1919
- networkx
2020
- rich>=13.7.1

conda-envs/windows-environment-dev.yml

Lines changed: 1 addition & 1 deletion
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.35.0,<2.36
15+
- pytensor>=2.36.0,<2.37
1616
- python-graphviz
1717
- networkx
1818
- rich>=13.7.1

conda-envs/windows-environment-test.yml

Lines changed: 1 addition & 1 deletion
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.35.0,<2.36
18+
- pytensor>=2.36.0,<2.37
1919
- python-graphviz
2020
- networkx
2121
- rich>=13.7.1

pymc/distributions/multivariate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
from pytensor.graph.basic import Apply, Variable
2626
from pytensor.graph.op import Op
2727
from pytensor.raise_op import Assert
28-
from pytensor.sparse.basic import DenseFromSparse, sp_sum
28+
from pytensor.sparse.basic import DenseFromSparse
29+
from pytensor.sparse.math import sp_sum
2930
from pytensor.tensor import (
3031
TensorConstant,
3132
TensorVariable,

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pandas>=0.24.0
1616
polyagamma
1717
pre-commit>=2.8.0
1818
pymc-sphinx-theme>=0.16.0
19-
pytensor>=2.35.0,<2.36
19+
pytensor>=2.36.0,<2.37
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.35.0,<2.36
6+
pytensor>=2.36.0,<2.37
77
rich>=13.7.1
88
scipy>=1.4.1
99
threadpoolctl>=3.1.0,<4.0.0

0 commit comments

Comments
 (0)