Skip to content
Snippets Groups Projects
Commit 409d7e66 authored by Julian's avatar Julian
Browse files

Use Debian Bookworm for CI builds

- Fix apt package build on Bookworm
- Adapt babel.cfg to jinja 3.x.x and break compatability with older versions
parent 0d870ee1
Branches
Tags v2.3.0
No related merge requests found
image: registry.git.cccv.de/uffd/docker-images/buster image: registry.git.cccv.de/uffd/docker-images/bookworm
variables: variables:
DEBIAN_FRONTEND: noninteractive DEBIAN_FRONTEND: noninteractive
...@@ -13,7 +13,7 @@ before_script: ...@@ -13,7 +13,7 @@ before_script:
- uname -a - uname -a
- python3 -m pylint --version - python3 -m pylint --version
- python3 -m coverage --version - python3 -m coverage --version
- export UFFD_PACKAGE_VERSION="$(git describe | sed -E -n -e 's/^v([0-9.]*)$/\1/p' -e 's/^v([0-9.]*)-([0-9]*)-g([0-9a-z]*)$/\1.dev+git.\3/p' | grep .)" - export PACKAGE_VERSION="$(git describe | sed -E -n -e 's/^v([0-9.]*)$/\1/p' -e 's/^v([0-9.]*)-([0-9]*)-g([0-9a-z]*)$/\1.dev+git.\3/p' | grep .)"
.build: .build:
stage: build stage: build
...@@ -21,7 +21,7 @@ before_script: ...@@ -21,7 +21,7 @@ before_script:
build:pip: build:pip:
extends: .build extends: .build
script: script:
- PACKAGE_VERSION="${UFFD_PACKAGE_VERSION}" python3 -m build - python3 -m build
artifacts: artifacts:
paths: paths:
- dist/* - dist/*
......
[python: **.py] [python: **.py]
[jinja2: **/templates/**.html] [jinja2: **/templates/**.html]
extensions=jinja2.ext.autoescape,jinja2.ext.with_
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment