Matej Cepl 2021-03-01 13:52:33 +00:00 committed by Git OBS Bridge
parent 5e5285f817
commit 3cf86837cf

View File

@ -96,9 +96,9 @@ languages, sharing, and interactive widgets.
%check %check
skiptests="" skiptests=""
# if [ $(python3 -c 'import platform; print(platform.machine())') == 'aarch64' ]; then if [ $(python3 -c 'import platform; print(platform.machine())') == 'aarch64' ]; then
# skiptests+="not (test_culling[AsyncMappingKernelManager] or test_culling[MappingKernelManager])" skiptests+="not (test_culling[AsyncMappingKernelManager] or test_culling[MappingKernelManager])"
# fi fi
%{python_expand # provide u-a entrypoints in the correct flavor version -- installed packages and jupyter-server %{python_expand # provide u-a entrypoints in the correct flavor version -- installed packages and jupyter-server
mkdir build/testbin mkdir build/testbin
@ -109,7 +109,8 @@ done
} }
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
export PATH=$PWD/build/testbin:$PATH export PATH=$PWD/build/testbin:$PATH
%pytest -k "$skiptests" # %%pytest -k "$skiptests"
%pytest
%post %post
%python_install_alternative jupyter-server %python_install_alternative jupyter-server