From: Vincent Fu Date: Mon, 16 Oct 2023 14:03:36 +0000 (-0400) Subject: ci: explicitly install pygments and certifi on macos X-Git-Tag: fio-3.36~3 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=c5d8ce3fc736210ded83b126c71e3225c7ffd7c9;p=fio.git ci: explicitly install pygments and certifi on macos The documentation build on macOS started failing because of errors with the pygments and certifi modules. Homebrew is not automatically installing pygments and python-certifi which are listed as packages that sphinx-doc depends on because they are already present in the runner image at the required versions (2.16.1 and 2023.7.22, respectively). Explicitly installing the two packages bumps the versions to slightly newer ones (2.16.1_1 and 2023.7.22_1, respectively). This appears to resolve the documentation build problem. https://formulae.brew.sh/formula/sphinx-doc https://github.com/axboe/fio/actions/runs/6533001329/job/17739452911#step:13:155 https://github.com/vincentkfu/fio/actions/runs/6535039949/job/17743571376#step:13:148 https://github.com/vincentkfu/fio/actions/runs/6535229986/job/17744177918#step:6:10 Signed-off-by: Vincent Fu --- diff --git a/ci/actions-install.sh b/ci/actions-install.sh index 95241e78..76335fbc 100755 --- a/ci/actions-install.sh +++ b/ci/actions-install.sh @@ -86,7 +86,7 @@ install_macos() { #echo "Updating homebrew..." #brew update >/dev/null 2>&1 echo "Installing packages..." - HOMEBREW_NO_AUTO_UPDATE=1 brew install cunit libnfs sphinx-doc + HOMEBREW_NO_AUTO_UPDATE=1 brew install cunit libnfs sphinx-doc pygments python-certifi brew link sphinx-doc --force pip3 install scipy six statsmodels }