Skip to content

Commit d19b187

Browse files
authored
fix numpy version in test system (#693)
1 parent 2ed788e commit d19b187

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

conda-recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ test:
4545
commands:
4646
- python -c "import dpnp"
4747
- conda list
48-
- pytest
48+
- pytest -s
4949

5050
about:
5151
home: https://github.com/IntelPython/dpnp

scripts/azure-pipelines.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- bash: |
1212
echo ========================= Conda ENV ====================================
1313
conda create -q -y -n CondaCodeStyle python=3.8 conda-build conda-verify \
14-
numpy cython pytest \
14+
numpy=1.19 cython pytest \
1515
pycodestyle autopep8 black
1616
. /usr/share/miniconda/etc/profile.d/conda.sh
1717
conda activate CondaCodeStyle
@@ -55,7 +55,7 @@ jobs:
5555
- bash: |
5656
echo ========================= Conda ENV =================================
5757
conda create -q -y -n CondaCodeCov python=3.8 conda-build conda-verify \
58-
numpy cython pytest \
58+
numpy=1.19 cython pytest \
5959
pycodestyle autopep8 \
6060
cython pytest pytest-cov
6161
. /usr/share/miniconda/etc/profile.d/conda.sh
@@ -96,7 +96,7 @@ jobs:
9696
echo ========================= build DPNP ==========================
9797
./0.build.sh
9898
echo ========================= run pytest ==========================
99-
pytest
99+
pytest -s
100100
101101
- job: ubuntu2004_tests_external
102102
displayName: Ubuntu 20.04 External Tests
@@ -172,7 +172,7 @@ jobs:
172172
173173
- script: |
174174
call activate
175-
conda install -y conda-build numpy cython pytest hypothesis
175+
conda install -y conda-build numpy=1.19 cython pytest hypothesis
176176
displayName: Install extra conda packages
177177
178178
- script: |

scripts/install_python_deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ echo +++++++++++++++++++++++++ Python prerequisites ++++++++++++++++++++++++++++
77
echo ========================= Conda: install prerequisites =========================
88
# explicitly install mkl blas instead of openblas
99
# because numpy is installed with openblas for Python 3.9 by default
10-
conda install -y conda-build numpy blas=*=mkl cython pytest hypothesis
10+
conda install -y conda-build numpy=1.19 blas=*=mkl cython pytest hypothesis
1111

1212
echo ========================= Conda: remove mkl ====================================
1313
conda remove mkl --force -y || true

0 commit comments

Comments
 (0)