ci: explicitly install pygments and certifi on macos
authorVincent Fu <vincent.fu@samsung.com>
Mon, 16 Oct 2023 14:03:36 +0000 (10:03 -0400)
committerVincent Fu <vincent.fu@samsung.com>
Mon, 16 Oct 2023 14:54:21 +0000 (10:54 -0400)
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 <vincent.fu@samsung.com>
ci/actions-install.sh

index 95241e78825a9939814a747daf486f866949e392..76335fbc3e92122dfa99f63d4f8e04bebae7da4a 100755 (executable)
@@ -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
 }