]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci/pkgtest: fix issues with sphinx
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 4 Apr 2022 12:28:06 +0000 (14:28 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 4 Apr 2022 12:37:50 +0000 (14:37 +0200)
The apkg installation through pip3 was pulling too new jinja2 version,
breaking subsequent usage of sphinx to build docs (in `apkg build`).

ci/pkgtest.yaml

index 73f666afeab7c3b68c000e742e402213e51d3207..d2eb61265c43b9465d10d8e3cfd57befe033e9a1 100644 (file)
@@ -20,8 +20,8 @@ stages:
     paths:
       - pkg/
 
-.apkgbuild: &apkgbuild
-  - pip3 install -U apkg
+.apkgbuild: &apkgbuild # new jinja2 breaks docs (sphinx/breathe)
+  - pip3 install -U apkg 'jinja2<3.1'
   - apkg build-dep -y
   - apkg build