From 9ee2dd782d268bd010e075221c0b8d4951112382 Mon Sep 17 00:00:00 2001 From: Jan Novak Date: Mon, 2 Mar 2026 22:57:15 +0100 Subject: [PATCH] fix: add missing qrcode and pillow dependencies to Dockerfile and pyproject.toml This fixes the 'ModuleNotFoundError: No module named qrcode' error in the container. Updated pyproject.toml version to 0.10. Co-authored-by: Antigravity --- build/Dockerfile | 4 +++- pyproject.toml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index 9d9259c..69040ce 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -12,7 +12,9 @@ RUN pip install --no-cache-dir \ flask \ google-api-python-client \ google-auth-httplib2 \ - google-auth-oauthlib + google-auth-oauthlib \ + qrcode \ + pillow COPY app.py Makefile ./ COPY scripts/ ./scripts/ diff --git a/pyproject.toml b/pyproject.toml index 14d4dd7..17e5886 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,13 @@ [project] name = "fuj-management" -version = "0.06" +version = "0.10" description = "Management tools for FUJ (Frisbee Ultimate Jablonec)" dependencies = [ "flask>=3.1.3", "google-api-python-client>=2.162.0", "google-auth-httplib2>=0.2.0", "google-auth-oauthlib>=1.2.1", + "qrcode[pil]>=8.0", ] requires-python = ">=3.13"