diff --git a/docker/install/ubuntu2004_install_python_package.sh b/docker/install/ubuntu2004_install_python_package.sh index f1c03cf1c0e2..c72ea5d4fa66 100644 --- a/docker/install/ubuntu2004_install_python_package.sh +++ b/docker/install/ubuntu2004_install_python_package.sh @@ -35,7 +35,7 @@ pip3 install --upgrade \ psutil \ pytest \ git+https://github.com/tlc-pack/tlcpack-sphinx-addon.git@768ec1dce349fe4708f6ad68be1ebb3f3dabafa1 \ - pytest-profiling \ + pytest-profiling==1.7.0 \ pytest-xdist \ pytest-rerunfailures==10.2 \ requests \ diff --git a/docker/install/ubuntu_install_python_package.sh b/docker/install/ubuntu_install_python_package.sh index 593ba15f5947..7fe82a1db414 100755 --- a/docker/install/ubuntu_install_python_package.sh +++ b/docker/install/ubuntu_install_python_package.sh @@ -35,7 +35,7 @@ pip3 install --upgrade \ psutil \ pytest \ git+https://github.com/tlc-pack/tlcpack-sphinx-addon.git@768ec1dce349fe4708f6ad68be1ebb3f3dabafa1 \ - pytest-profiling \ + pytest-profiling!=1.8.0 \ pytest-xdist \ pytest-rerunfailures==10.2 \ requests \