From efe5cbf077403603a670bee930d0c229ff2b9da2 Mon Sep 17 00:00:00 2001 From: Christian Stefanescu Date: Tue, 26 Aug 2025 08:50:38 +0200 Subject: [PATCH 1/2] bugfix: use the correct debian flavor, now that bookworm is oldstable --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index d76e7af64..45a0c58ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ LABEL org.opencontainers.image.licenses MIT LABEL org.opencontainers.image.source https://github.com/alephdata/ingest-file # Enable non-free archive for `unrar`. -RUN echo "deb http://http.us.debian.org/debian stable non-free" >/etc/apt/sources.list.d/nonfree.list \ +RUN echo "deb http://http.us.debian.org/debian bookworm non-free" >/etc/apt/sources.list.d/nonfree.list \ && apt-get -qq -y update \ && apt-get -qq -y install build-essential locales \ # python deps (mostly to install their dependencies) @@ -148,10 +148,10 @@ RUN pip install --no-cache-dir --config-settings editable_mode=compat --use-pep5 RUN chown -R app:app /ingestors ENV ARCHIVE_TYPE=file \ - ARCHIVE_PATH=/data \ - FTM_STORE_URI=postgresql://aleph:aleph@postgres/aleph \ - REDIS_URL=redis://redis:6379/0 \ - TESSDATA_PREFIX=/usr/share/tesseract-ocr/5/tessdata + ARCHIVE_PATH=/data \ + FTM_STORE_URI=postgresql://aleph:aleph@postgres/aleph \ + REDIS_URL=redis://redis:6379/0 \ + TESSDATA_PREFIX=/usr/share/tesseract-ocr/5/tessdata # USER app CMD ingestors process From a4711b652cf0d66ee5745717861b362086d3d8e0 Mon Sep 17 00:00:00 2001 From: Christian Stefanescu Date: Tue, 26 Aug 2025 10:57:35 +0200 Subject: [PATCH 2/2] bugfix: keep fakeredis version under 2.31.0 because of a breaking API change --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 738f3aba3..18998e542 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,6 +20,7 @@ py7zr==1.0.0 pytest==8.3.5 pytest-cov==6.1.0 click==8.1.8 +fakeredis==2.30.3 # File format support dbf==0.99.10