From 1f5e4bb13fb4e8ee8cc2a9b3d561f3853ae9f3d4 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Mon, 17 Jul 2023 19:25:03 +0000 Subject: [PATCH] .builds: use python3.11 to build docs pyyaml fails to build from source, and there are no 3.12 wheels on PyPI. Relates: https://github.com/yaml/pyyaml/issues/601 --- .builds/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.builds/main.yml b/.builds/main.yml index 868ed0a..d3b6781 100644 --- a/.builds/main.yml +++ b/.builds/main.yml @@ -9,6 +9,7 @@ packages: - pandoc - python3-devel - python3-libdnf5 + - python3.11-devel - rpm-build - rsync - scd2html @@ -45,7 +46,7 @@ tasks: ./venv/bin/pip install nox - submit-docs: | cd fedrq - $nox -e mkdocs -- build + VIRTUALENV_PYTHON=3.11 $nox -e mkdocs -- build if [ "$(git rev-parse HEAD)" = "$(git rev-parse origin/main)" ]; then echo "Submitting docs for main branch" ssh-keyscan fedrq.gtmx.me | tee -a ~/.ssh/known_hosts