5252 if : ${{ needs.changes.outputs.changes == 'true' }}
5353 strategy :
5454 matrix :
55- python-version : ["3.8", "3. 9", "3.10", "3.11"]
55+ python-version : ["3.9", "3.10", "3.11"]
5656 steps :
5757 - uses : actions/checkout@v3
5858 - uses : actions/setup-python@v4
7070 strategy :
7171 fail-fast : false
7272 matrix :
73- python-version : ["3.8 ", "3.11"]
73+ python-version : ["3.9 ", "3.11"]
7474 fast-compile : [0,1]
7575 float32 : [0,1]
7676 install-numba : [0]
@@ -86,17 +86,17 @@ jobs:
8686 - " tests/tensor/test_basic.py tests/tensor/test_inplace.py"
8787 - " tests/tensor/test_blas.py tests/tensor/test_elemwise.py tests/tensor/test_math_scipy.py"
8888 exclude :
89- - python-version : " 3.8 "
89+ - python-version : " 3.9 "
9090 fast-compile : 1
91- - python-version : " 3.8 "
91+ - python-version : " 3.9 "
9292 float32 : 1
93- - python-version : " 3.8 "
93+ - python-version : " 3.9 "
9494 part : " tests/tensor/test_math.py"
9595 - fast-compile : 1
9696 float32 : 1
9797 include :
9898 - install-numba : 1
99- python-version : " 3.8 "
99+ python-version : " 3.9 "
100100 fast-compile : 0
101101 float32 : 0
102102 part : " tests/link/numba"
@@ -106,7 +106,7 @@ jobs:
106106 float32 : 0
107107 part : " tests/link/numba"
108108 - install-jax : 1
109- python-version : " 3.8 "
109+ python-version : " 3.9 "
110110 fast-compile : 0
111111 float32 : 0
112112 part : " tests/link/jax"
@@ -140,11 +140,11 @@ jobs:
140140 shell : bash -l {0}
141141 run : |
142142 mamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython" mkl numpy scipy pip mkl-service graphviz cython pytest coverage pytest-cov pytest-benchmark sympy
143- # numba-scipy downgrades the installed scipy to 1.7.3 in Python 3.8 , but
143+ # numba-scipy downgrades the installed scipy to 1.7.3 in Python 3.9 , but
144144 # not numpy, even though scipy 1.7 requires numpy<1.23. When installing
145145 # PyTensor next, pip installs a lower version of numpy via the PyPI.
146- if [[ $INSTALL_NUMBA == "1" ]] && [[ $PYTHON_VERSION == "3.8 " ]]; then mamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" "numpy<1.23" "numba>=0.57" numba-scipy; fi
147- if [[ $INSTALL_NUMBA == "1" ]] && [[ $PYTHON_VERSION != "3.8 " ]]; then mamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" "numba>=0.57" numba-scipy; fi
146+ if [[ $INSTALL_NUMBA == "1" ]] && [[ $PYTHON_VERSION == "3.9 " ]]; then mamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" "numpy<1.23" "numba>=0.57" numba-scipy; fi
147+ if [[ $INSTALL_NUMBA == "1" ]] && [[ $PYTHON_VERSION != "3.9 " ]]; then mamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" "numba>=0.57" numba-scipy; fi
148148 if [[ $INSTALL_JAX == "1" ]]; then mamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" jax jaxlib numpyro; fi
149149 pip install -e ./
150150 mamba list && pip freeze
0 commit comments