Skip to content

Commit 8ba09f4

Browse files
committed
Removed temporary pin of Aesara version
1 parent 78b1380 commit 8ba09f4

File tree

7 files changed

+12
-8
lines changed

7 files changed

+12
-8
lines changed

conda-envs/environment-dev-py37.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
- defaults
55
dependencies:
6-
- aesara>=2.1.0, <2.2.0
6+
- aesara>=2.1.0
77
- arviz>=0.11.2
88
- cachetools>=4.2.1
99
- cloudpickle

conda-envs/environment-dev-py38.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
- defaults
55
dependencies:
6-
- aesara>=2.1.0, <2.2.0
6+
- aesara>=2.1.0
77
- arviz>=0.11.2
88
- cachetools>=4.2.1
99
- cloudpickle

conda-envs/environment-dev-py39.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
- defaults
55
dependencies:
6-
- aesara>=2.1.0, <2.2.0
6+
- aesara>=2.1.0
77
- arviz>=0.11.2
88
- cachetools>=4.2.1
99
- cloudpickle

conda-envs/windows-environment-dev-py38.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- defaults
55
dependencies:
66
# base dependencies (see install guide for Windows)
7-
- aesara>=2.1.0, <2.2.0
7+
- aesara>=2.1.0
88
- arviz>=0.11.2
99
- cachetools>=4.2.1
1010
- cloudpickle

pymc3/aesaraf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
from aesara.tensor.shape import SpecifyShape
5050
from aesara.tensor.sharedvar import SharedVariable
5151
from aesara.tensor.subtensor import AdvancedIncSubtensor, AdvancedIncSubtensor1
52-
from aesara.tensor.var import TensorVariable
52+
from aesara.tensor.var import TensorConstant, TensorVariable
5353

5454
from pymc3.exceptions import ShapeError
5555
from pymc3.vartypes import continuous_types, int_types, isgenerator, typefilter
@@ -389,7 +389,11 @@ def inputvars(a):
389389
-------
390390
r: list of tensor variables that are inputs
391391
"""
392-
return [v for v in graph_inputs(makeiter(a)) if isinstance(v, TensorVariable)]
392+
return [
393+
v
394+
for v in graph_inputs(makeiter(a))
395+
if isinstance(v, TensorVariable) and not isinstance(v, TensorConstant)
396+
]
393397

394398

395399
def cont_inputs(a):

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file is auto-generated by scripts/generate_pip_deps_from_conda.py, do not modify.
22
# See that file for comments about the need/usage of each dependency.
33

4-
aesara>=2.1.0, <2.2.0
4+
aesara>=2.1.0
55
arviz>=0.11.2
66
cachetools>=4.2.1
77
cloudpickle

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
aesara>=2.1.0,<2.2.0
1+
aesara>=2.1.0
22
arviz>=0.11.2
33
cachetools>=4.2.1
44
cloudpickle

0 commit comments

Comments
 (0)