76
76
matrix :
77
77
os : ["ubuntu-latest"]
78
78
python-version : ["3.10", "3.12"]
79
- numpy-version : ["1.26", "2.1 "]
79
+ numpy-version : ["~= 1.26.0 ", ">=2.0 "]
80
80
fast-compile : [0, 1]
81
81
float32 : [0, 1]
82
82
install-numba : [0]
@@ -106,53 +106,53 @@ jobs:
106
106
float32 : 1
107
107
- part : " --doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
108
108
fast-compile : 1
109
- - numpy-version : " 1.26"
109
+ - numpy-version : " ~= 1.26.0 "
110
110
fast-compile : 1
111
- - numpy-version : " 1.26"
111
+ - numpy-version : " ~= 1.26.0 "
112
112
float32 : 1
113
- - numpy-version : " 1.26"
113
+ - numpy-version : " ~= 1.26.0 "
114
114
python-version : " 3.12"
115
- - numpy-version : " 1.26"
115
+ - numpy-version : " ~= 1.26.0 "
116
116
part : " --doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
117
117
include :
118
118
- install-numba : 1
119
119
os : " ubuntu-latest"
120
120
python-version : " 3.10"
121
- numpy-version : " 2.1"
121
+ numpy-version : " ~= 2.1.0 "
122
122
fast-compile : 0
123
123
float32 : 0
124
124
part : " tests/link/numba"
125
125
- install-numba : 1
126
126
os : " ubuntu-latest"
127
127
python-version : " 3.12"
128
- numpy-version : " 2.1"
128
+ numpy-version : " ~= 2.1.0 "
129
129
fast-compile : 0
130
130
float32 : 0
131
131
part : " tests/link/numba"
132
132
- install-jax : 1
133
133
os : " ubuntu-latest"
134
134
python-version : " 3.10"
135
- numpy-version : " 2.1 "
135
+ numpy-version : " >=2.0 "
136
136
fast-compile : 0
137
137
float32 : 0
138
138
part : " tests/link/jax"
139
139
- install-jax : 1
140
140
os : " ubuntu-latest"
141
141
python-version : " 3.12"
142
- numpy-version : " 2.1 "
142
+ numpy-version : " >=2.0 "
143
143
fast-compile : 0
144
144
float32 : 0
145
145
part : " tests/link/jax"
146
146
- install-torch : 1
147
147
os : " ubuntu-latest"
148
148
python-version : " 3.10"
149
- numpy-version : " 2.1 "
149
+ numpy-version : " >=2.0 "
150
150
fast-compile : 0
151
151
float32 : 0
152
152
part : " tests/link/pytorch"
153
153
- os : macos-15
154
154
python-version : " 3.12"
155
- numpy-version : " 2.1 "
155
+ numpy-version : " >=2.0 "
156
156
fast-compile : 0
157
157
float32 : 0
158
158
install-numba : 0
@@ -161,7 +161,7 @@ jobs:
161
161
part : " tests/tensor/test_blas.py tests/tensor/test_elemwise.py tests/tensor/test_math_scipy.py"
162
162
- os : " ubuntu-latest"
163
163
python-version : " 3.10"
164
- numpy-version : " 1.26"
164
+ numpy-version : " ~= 1.26.0 "
165
165
fast-compile : 0
166
166
float32 : 0
167
167
install-numba : 0
@@ -198,9 +198,9 @@ jobs:
198
198
run : |
199
199
200
200
if [[ $OS == "macos-15" ]]; then
201
- micromamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython" "numpy~= ${NUMPY_VERSION}.0 " scipy pip graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock libblas=*=*accelerate;
201
+ micromamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython" "numpy${NUMPY_VERSION}" scipy pip graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock libblas=*=*accelerate;
202
202
else
203
- micromamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython" mkl "numpy~= ${NUMPY_VERSION}.0 " scipy pip mkl-service graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock;
203
+ micromamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython" mkl "numpy${NUMPY_VERSION}" scipy pip mkl-service graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock;
204
204
fi
205
205
if [[ $INSTALL_NUMBA == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" "numba>=0.57"; fi
206
206
if [[ $INSTALL_JAX == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" jax jaxlib numpyro && pip install tensorflow-probability; fi
0 commit comments