7676 matrix :
7777 os : ["ubuntu-latest"]
7878 python-version : ["3.10", "3.12"]
79- numpy-version : ["1.26", "2.1 "]
79+ numpy-version : ["~= 1.26.0 ", ">=2.0 "]
8080 fast-compile : [0, 1]
8181 float32 : [0, 1]
8282 install-numba : [0]
@@ -106,53 +106,53 @@ jobs:
106106 float32 : 1
107107 - part : " --doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
108108 fast-compile : 1
109- - numpy-version : " 1.26"
109+ - numpy-version : " ~= 1.26.0 "
110110 fast-compile : 1
111- - numpy-version : " 1.26"
111+ - numpy-version : " ~= 1.26.0 "
112112 float32 : 1
113- - numpy-version : " 1.26"
113+ - numpy-version : " ~= 1.26.0 "
114114 python-version : " 3.12"
115- - numpy-version : " 1.26"
115+ - numpy-version : " ~= 1.26.0 "
116116 part : " --doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
117117 include :
118118 - install-numba : 1
119119 os : " ubuntu-latest"
120120 python-version : " 3.10"
121- numpy-version : " 2.1"
121+ numpy-version : " ~= 2.1.0 "
122122 fast-compile : 0
123123 float32 : 0
124124 part : " tests/link/numba"
125125 - install-numba : 1
126126 os : " ubuntu-latest"
127127 python-version : " 3.12"
128- numpy-version : " 2.1"
128+ numpy-version : " ~= 2.1.0 "
129129 fast-compile : 0
130130 float32 : 0
131131 part : " tests/link/numba"
132132 - install-jax : 1
133133 os : " ubuntu-latest"
134134 python-version : " 3.10"
135- numpy-version : " 2.1 "
135+ numpy-version : " >=2.0 "
136136 fast-compile : 0
137137 float32 : 0
138138 part : " tests/link/jax"
139139 - install-jax : 1
140140 os : " ubuntu-latest"
141141 python-version : " 3.12"
142- numpy-version : " 2.1 "
142+ numpy-version : " >=2.0 "
143143 fast-compile : 0
144144 float32 : 0
145145 part : " tests/link/jax"
146146 - install-torch : 1
147147 os : " ubuntu-latest"
148148 python-version : " 3.10"
149- numpy-version : " 2.1 "
149+ numpy-version : " >=2.0 "
150150 fast-compile : 0
151151 float32 : 0
152152 part : " tests/link/pytorch"
153153 - os : macos-15
154154 python-version : " 3.12"
155- numpy-version : " 2.1 "
155+ numpy-version : " >=2.0 "
156156 fast-compile : 0
157157 float32 : 0
158158 install-numba : 0
@@ -161,7 +161,7 @@ jobs:
161161 part : " tests/tensor/test_blas.py tests/tensor/test_elemwise.py tests/tensor/test_math_scipy.py"
162162 - os : " ubuntu-latest"
163163 python-version : " 3.10"
164- numpy-version : " 1.26"
164+ numpy-version : " ~= 1.26.0 "
165165 fast-compile : 0
166166 float32 : 0
167167 install-numba : 0
@@ -198,9 +198,9 @@ jobs:
198198 run : |
199199
200200 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;
202202 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;
204204 fi
205205 if [[ $INSTALL_NUMBA == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" "numba>=0.57"; fi
206206 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