Mentions légales du service

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

Restrain the matplotlib versions in test_unix_purepy_pkg (fix macos matplotlib...

Restrain the matplotlib versions in test_unix_purepy_pkg (fix macos matplotlib building error by using older wheel packages).
parent 77431e5d
No related branches found
No related tags found
No related merge requests found
Pipeline #834117 skipped
...@@ -623,6 +623,7 @@ test_linux_pkg_release: ...@@ -623,6 +623,7 @@ test_linux_pkg_release:
- PYVER=$($JOB_PYTHON --version | awk '{print $2}' | sed -e 's/\.//g;s/\(..\).*/\1/') - 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) - SYS=$(if uname -a | grep -q Darwin; then echo macosx; else echo linux; fi)
- $JOB_PYTHON -m pip install --upgrade pip - $JOB_PYTHON -m pip install --upgrade pip
- $JOB_PYTHON -m pip install matplotlib==3.5.3 # don't install the latest version because it fails to compile on some macos x versions
- $JOB_PYTHON -m pip install --upgrade build/wrapper/python/dist/${PYFAUST_PKG_NAME}-$CI_COMMIT_TAG-*$PYVER*$SYS*.whl - $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());" - $JOB_PYTHON -c "import pyfaust; print(pyfaust.version()); print(pyfaust.rand(5,5).toarray());"
- $JOB_PYTHON -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'double')" - $JOB_PYTHON -c "import pyfaust.tests; pyfaust.tests.run_tests('cpu', 'double')"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment