Skip to content

Commit d306c6f

Browse files
committed
.test pinning numpy in numba install
1 parent 4510f03 commit d306c6f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- uses: actions/setup-python@v4
5959
with:
6060
python-version: ${{ matrix.python-version }}
61-
- uses: pre-commit/[email protected]
61+
# - uses: pre-commit/[email protected]
6262

6363
test_ubuntu:
6464
name: "Test py${{ matrix.python-version }} : fast-compile ${{ matrix.fast-compile }} : float32 ${{ matrix.float32 }} : ${{ matrix.part }}"
@@ -70,7 +70,7 @@ jobs:
7070
strategy:
7171
fail-fast: false
7272
matrix:
73-
python-version: ["3.8", "3.11"]
73+
python-version: ["3.8"]
7474
fast-compile: [0,1]
7575
float32: [0,1]
7676
install-numba: [1]
@@ -118,7 +118,7 @@ jobs:
118118
shell: bash -l {0}
119119
run: |
120120
mamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython" mkl numpy scipy pip mkl-service graphviz cython pytest coverage pytest-cov pytest-benchmark sympy
121-
if [[ $INSTALL_NUMBA == "1" ]]; then mamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" "numba>=0.57" numba-scipy; fi
121+
if [[ $INSTALL_NUMBA == "1" ]]; then mamba install --yes -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" "numpy=1.22" "numba>=0.57" numba-scipy; fi
122122
mamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" jax jaxlib numpyro
123123
pip install -e ./
124124
mamba list && pip freeze

0 commit comments

Comments
 (0)