From f7f7c30a0800665609bad38ed91e6f537a44c694 Mon Sep 17 00:00:00 2001 From: Manu Seth <manuseth1010@gmail.com> Date: Sat, 3 Jul 2021 01:23:50 +0000 Subject: [PATCH] enable py38 for unittests --- ci/docker/runtime_functions.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci/docker/runtime_functions.sh b/ci/docker/runtime_functions.sh index 156264aaaea5..1de1a1238afb 100755 --- a/ci/docker/runtime_functions.sh +++ b/ci/docker/runtime_functions.sh @@ -984,6 +984,10 @@ cd_unittest_ubuntu() { local nose_cmd="nosetests-3.4" + if [[ ${mxnet_variant} = aarch64_cpu ]]; then + source /opt/rh/rh-python38/enable + fi + $nose_cmd $NOSE_TIMER_ARGUMENTS --verbose tests/python/unittest $nose_cmd $NOSE_TIMER_ARGUMENTS --verbose tests/python/quantization @@ -2017,6 +2021,9 @@ cd_package_pypi() { set -ex pushd . local mxnet_variant=${1:?"This function requires a python command as the first argument"} + if [[ ${mxnet_variant} = aarch64_cpu ]]; then + source /opt/rh/rh-python38/enable + fi ./cd/python/pypi/pypi_package.sh ${mxnet_variant} popd }