Skip to content

Commit f2c28b2

Browse files
committed
Depend on PyTensor v3
1 parent bc6d144 commit f2c28b2

9 files changed

Lines changed: 13 additions & 18 deletions

.github/workflows/tests.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ jobs:
167167
cache-environment: true
168168
- name: Install-pymc
169169
run: |
170-
pip install "pytensor @ git+https://github.com/pymc-devs/pytensor.git@main" --no-deps
171-
pip install -e . --no-deps
170+
pip install -e .
172171
python --version
173172
micromamba list
174173
- name: Run tests
@@ -217,8 +216,7 @@ jobs:
217216
cache-environment: true
218217
- name: Install-pymc
219218
run: |
220-
pip install "pytensor @ git+https://github.com/pymc-devs/pytensor.git@main" --no-deps
221-
pip install -e . --no-deps
219+
pip install -e .
222220
python --version
223221
micromamba list
224222
- name: Run tests
@@ -275,8 +273,7 @@ jobs:
275273
cache-environment: true
276274
- name: Install pymc
277275
run: |
278-
pip install "pytensor @ git+https://github.com/pymc-devs/pytensor.git@main" --no-deps
279-
pip install -e . --no-deps
276+
pip install -e .
280277
python --version
281278
micromamba list
282279
- name: Run tests
@@ -327,8 +324,7 @@ jobs:
327324
cache-environment: true
328325
- name: Install pymc
329326
run: |
330-
pip install "pytensor @ git+https://github.com/pymc-devs/pytensor.git@main" --no-deps
331-
pip install -e . --no-deps
327+
pip install -e .
332328
# Track nutpie main so we exercise unreleased changes. Expected to be
333329
# red until nutpie main drops its `arviz.InferenceData` references.
334330
pip install "nutpie @ git+https://github.com/pymc-devs/nutpie@main"
@@ -377,8 +373,7 @@ jobs:
377373
cache-environment: true
378374
- name: Install-pymc
379375
run: |
380-
pip install "pytensor @ git+https://github.com/pymc-devs/pytensor.git@main" --no-deps
381-
pip install -e . --no-deps
376+
pip install -e .
382377
python --version
383378
micromamba list
384379
- name: Run tests

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.38.2,<2.39
25+
- pytensor>=3.0,<3.1
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,6 +12,7 @@ dependencies:
1212
- numpy>=1.25.0
1313
- pandas>=0.24.0
1414
- pip
15+
- pytensor>=3.0,<3.1
1516
- python-graphviz
1617
- networkx
1718
- scipy>=1.4.1
@@ -40,7 +41,6 @@ dependencies:
4041
- mypy=1.19.1
4142
- types-cachetools
4243
- pip:
43-
- pytensor @ git+https://github.com/pymc-devs/pytensor.git@main
4444
- pymc-sphinx-theme>=0.16.0
4545
- numdifftools>=0.9.40
4646
- mcbackend>=0.4.0

conda-envs/environment-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ dependencies:
1111
- numpy>=1.25.0
1212
- pandas>=0.24.0
1313
- pip
14+
- pytensor>=3.0,<3.1
1415
- python-graphviz
1516
- rich>=13.7.1
1617
- scipy>=1.4.1
@@ -35,5 +36,4 @@ dependencies:
3536
- watermark
3637
- sphinx-remove-toctrees
3738
- pip:
38-
- pytensor @ git+https://github.com/pymc-devs/pytensor.git@main
3939
- numdifftools>=0.9.40

conda-envs/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.38.2,<2.39
18+
- pytensor>=3.0,<3.1
1919
- python-graphviz
2020
- networkx
2121
- 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,6 +12,7 @@ dependencies:
1212
- numpy>=1.25.0
1313
- pandas>=0.24.0
1414
- pip
15+
- pytensor>=3.0,<3.1
1516
- python-graphviz
1617
- networkx
1718
- rich>=13.7.1
@@ -37,7 +38,6 @@ dependencies:
3738
- mypy=1.19.1
3839
- types-cachetools
3940
- pip:
40-
- pytensor @ git+https://github.com/pymc-devs/pytensor.git@main
4141
- git+https://github.com/pymc-devs/pymc-sphinx-theme
4242
- numdifftools>=0.9.40
4343
- mcbackend>=0.4.0

conda-envs/windows-environment-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- pandas>=0.24.0
1717
- pip
1818
- polyagamma
19-
- pytensor>=2.38.2,<2.39
19+
- pytensor>=3.0,<3.1
2020
- python-graphviz
2121
- networkx
2222
- rich>=13.7.1

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pandas>=0.24.0
1717
polyagamma
1818
pre-commit>=2.8.0
1919
pymc-sphinx-theme>=0.16.0
20-
pytensor @ git+https://github.com/pymc-devs/pytensor.git@main
20+
pytensor>=3.0,<3.1
2121
pytest-cov>=2.5
2222
pytest>=3.0
2323
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,<7
33
cloudpickle
44
numpy>=1.25.0
55
pandas>=0.24.0
6-
pytensor @ git+https://github.com/pymc-devs/pytensor.git@main
6+
pytensor>=3.0,<3.1
77
rich>=13.7.1
88
scipy>=1.4.1
99
threadpoolctl>=3.1.0,<4.0.0

0 commit comments

Comments
 (0)