Skip to content

Commit 006f588

Browse files
committed
Bump minimum PyMC dependency
1 parent 4500708 commit 006f588

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

.github/workflows/pypi.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fetch-depth: 0
1818
- uses: actions/setup-python@v4
1919
with:
20-
python-version: 3.8
20+
python-version: "3.10"
2121
- name: Build the sdist and the wheel
2222
run: |
2323
pip install build
@@ -63,7 +63,7 @@ jobs:
6363
repository_url: https://test.pypi.org/legacy/
6464
- uses: actions/setup-python@v4
6565
with:
66-
python-version: 3.8
66+
python-version: "3.10"
6767
- name: Test pip install from test.pypi
6868
run: |
6969
python -m venv venv-test-pypi

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
matrix:
2020
os: [ubuntu-latest]
2121
floatx: [float64]
22-
python-version: ["3.8"]
22+
python-version: ["3.9"]
2323
test-subset:
2424
- pymc_experimental/tests
2525
fail-fast: false
@@ -84,7 +84,7 @@ jobs:
8484
matrix:
8585
os: [windows-latest]
8686
floatx: [float32]
87-
python-version: ["3.10"]
87+
python-version: ["3.11"]
8888
test-subset:
8989
- pymc_experimental/tests
9090
fail-fast: false

conda-envs/environment-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ dependencies:
1111
- xhistogram
1212
- statsmodels
1313
- pip:
14-
- pymc>=5.6.0 # CI was failing to resolve
14+
- pymc>=5.8.1 # CI was failing to resolve
1515
- blackjax
1616
- scikit-learn

conda-envs/windows-environment-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ dependencies:
1010
- xhistogram
1111
- statsmodels
1212
- pip:
13-
- pymc>=5.6.0 # CI was failing to resolve
13+
- pymc>=5.8.1 # CI was failing to resolve
1414
- scikit-learn

pymc_experimental/distributions/continuous.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from pymc.distributions.shape_utils import rv_size_is_none
2929
from pymc.pytensorf import floatX
3030
from pytensor.tensor.random.op import RandomVariable
31-
from pytensor.tensor.var import TensorVariable
31+
from pytensor.tensor.variable import TensorVariable
3232
from scipy import stats
3333

3434

pymc_experimental/distributions/histogram_utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,15 @@ def histogram_approximation(name, dist, *, observed, **h_kwargs):
100100
----------
101101
name : str
102102
Name for the Potential
103-
dist : pytensor.tensor.var.TensorVariable
103+
dist : TensorVariable
104104
The output of pm.Distribution.dist()
105105
observed : ArrayLike
106106
Observed value to construct a histogram. Histogram is computed over 0th axis.
107107
Dask is supported.
108108
109109
Returns
110110
-------
111-
pytensor.tensor.var.TensorVariable
111+
TensorVariable
112112
Potential
113113
114114
Examples

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pymc>=5.6.0
1+
pymc>=5.8.1
22
scikit-learn

0 commit comments

Comments
 (0)