From 4ebb4d790e7a9f29a319d63673b4b26fe4aab0e2 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Fri, 10 May 2024 08:22:47 +0200 Subject: [PATCH] added ubuntu-24.04 "requirements-ubuntu-24.04.txt" --- .DEBIAN/requirements-ubuntu-24.04.txt | 10 ++++++++++ .gitlab-ci.yml | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 .DEBIAN/requirements-ubuntu-24.04.txt diff --git a/.DEBIAN/requirements-ubuntu-24.04.txt b/.DEBIAN/requirements-ubuntu-24.04.txt new file mode 100644 index 0000000..7cb653b --- /dev/null +++ b/.DEBIAN/requirements-ubuntu-24.04.txt @@ -0,0 +1,10 @@ +# https://packages.ubuntu.com +fastapi==0.101.0 +uvicorn[standard]==0.27.1 +python-jose[pycryptodome]==3.3.0 +pycryptodome==3.20.0 +python-dateutil==2.8.2 +sqlalchemy==1.4.50 +markdown==3.5.2 +python-dotenv==1.0.1 +jinja2==3.1.2 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5ca622b..f7ba457 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -126,7 +126,7 @@ build:pacman: - "*.pkg.tar.zst" test: - image: $IMAGE + image: python:3.11-slim-bookworm stage: test interruptible: true rules: @@ -141,11 +141,11 @@ test: DATABASE: sqlite:///../app/db.sqlite parallel: matrix: - - IMAGE: ['python:3.11-slim-bookworm'] - REQUIREMENTS: - requirements.txt - .DEBIAN/requirements-bookworm-12.txt - .DEBIAN/requirements-ubuntu-23.10.txt + - .DEBIAN/requirements-ubuntu-24.04.txt before_script: - apt-get update && apt-get install -y python3-dev gcc - pip install -r $REQUIREMENTS