]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
.gitlab-ci.yml: python: use virtualenv <20.30 when running python 3.8 docs-tests-replac-h6ig23/deployments/9509 1861/head
authorAleš Mrázek <ales.mrazek@nic.cz>
Thu, 9 Jul 2026 12:04:26 +0000 (14:04 +0200)
committerAleš Mrázek <ales.mrazek@nic.cz>
Thu, 9 Jul 2026 12:04:26 +0000 (14:04 +0200)
Use a virtualenv release that still supports seeding Python 3.8 environments.

.gitlab-ci.yml

index 84ca21d3072a90d7c2d439bbc78facb8d9c7fd4b..f5b3eae8f29035b213bbd60d05aecec302665b21 100644 (file)
@@ -885,6 +885,10 @@ docs:website:
   stage: sanity
   before_script:
     - poetry --version
+    - >
+      if [[ "$PYTHON_VERSION" == "3.8" ]]; then
+        pipx inject --force poetry "virtualenv<20.30"
+      fi
     - poetry env use python${PYTHON_VERSION}
     - poetry env info