Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 5629aeb6 authored by hhakim's avatar hhakim
Browse files

Pin versions of matplotlib and scipy only for macosx pip package tests.

Undo 5d0b86dd (redo e2644968 and ad4b9a47 but being macosx specific).
parent 82e85f63
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,6 @@ pkg_macos:
# - mkdir gpu_mod
# - git submodule sync --recursive
# - git submodule update --init --recursive
#TODO: loop for cuda 9.2 and 11.4
- cd gpu_mod
- if NOT EXIST build-cu11.4 (mkdir build-cu11.4) else (rmdir /S /Q build-cu11.4 & mkdir build-cu11.4)
- cd build-cu11.4
......@@ -629,6 +628,7 @@ test_linux_pkg_release:
- source test_pyfaust-$CI_COMMIT_TAG/bin/activate
- PYVER=$($JOB_PYTHON --version | awk '{print $2}' | sed -e 's/\.//g;s/\(..\).*/\1/')
- SYS=$(if uname -a | grep -q Darwin; then echo macosx; else echo linux; fi)
- if [ "$SYS" = macosx ]; then pip install scipy==1.9 matplotlib==3.5.3; fi # avoid to build from sources scipy==1.10 and matplolib==3.6.3
- $JOB_PYTHON -m pip install --upgrade pip
- $JOB_PYTHON -m pip install --upgrade build/wrapper/python/dist/${PYFAUST_PKG_NAME}-$CI_COMMIT_TAG-*$PYVER*$SYS*.whl
- $JOB_PYTHON -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment