From e04d3631fd2d6d933c3bb8e862a4127f85366894 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Sat, 17 May 2025 20:54:56 +0100 Subject: [PATCH] Update container deps (#385) - Fedora 42 container - Pulsar client 3.7.0 - Latest AI libs --- containers/Containerfile.base | 4 ++-- containers/Containerfile.bedrock | 4 ++-- containers/Containerfile.flow | 10 +++++----- containers/Containerfile.hf | 12 ++++++------ containers/Containerfile.ocr | 4 ++-- containers/Containerfile.vertexai | 4 ++-- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/containers/Containerfile.base b/containers/Containerfile.base index b4f5bbbf..baaa89cf 100644 --- a/containers/Containerfile.base +++ b/containers/Containerfile.base @@ -4,14 +4,14 @@ # like to avoid re-doing this. # ---------------------------------------------------------------------------- -FROM docker.io/fedora:40 AS base +FROM docker.io/fedora:42 AS base ENV PIP_BREAK_SYSTEM_PACKAGES=1 RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp && \ dnf clean all -RUN pip3 install --no-cache-dir pulsar-client==3.5.0 +RUN pip3 install --no-cache-dir pulsar-client==3.7.0 # ---------------------------------------------------------------------------- # Build a container which contains the built Python packages. The build diff --git a/containers/Containerfile.bedrock b/containers/Containerfile.bedrock index 21819973..2650943f 100644 --- a/containers/Containerfile.bedrock +++ b/containers/Containerfile.bedrock @@ -4,14 +4,14 @@ # like to avoid re-doing this. # ---------------------------------------------------------------------------- -FROM docker.io/fedora:40 AS base +FROM docker.io/fedora:42 AS base ENV PIP_BREAK_SYSTEM_PACKAGES=1 RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp \ python3-rdflib -RUN pip3 install --no-cache-dir boto3 pulsar-client==3.5.0 +RUN pip3 install --no-cache-dir boto3 pulsar-client==3.7.0 # ---------------------------------------------------------------------------- # Build a container which contains the built Python packages. The build diff --git a/containers/Containerfile.flow b/containers/Containerfile.flow index 352e5ac5..d1d5dbe1 100644 --- a/containers/Containerfile.flow +++ b/containers/Containerfile.flow @@ -4,7 +4,7 @@ # like to avoid re-doing this. # ---------------------------------------------------------------------------- -FROM docker.io/fedora:40 AS base +FROM docker.io/fedora:42 AS base ENV PIP_BREAK_SYSTEM_PACKAGES=1 @@ -14,11 +14,11 @@ RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp \ RUN pip3 install --no-cache-dir \ anthropic cohere mistralai openai google-generativeai \ ollama \ - langchain==0.3.13 langchain-core==0.3.28 \ - langchain-text-splitters==0.3.4 \ - langchain-community==0.3.13 \ + langchain==0.3.25 langchain-core==0.3.60 \ + langchain-text-splitters==0.3.8 \ + langchain-community==0.3.24 \ pymilvus \ - pulsar-client==3.5.0 cassandra-driver pyyaml \ + pulsar-client==3.7.0 cassandra-driver pyyaml \ neo4j tiktoken falkordb && \ pip3 cache purge diff --git a/containers/Containerfile.hf b/containers/Containerfile.hf index 4076db28..bd651122 100644 --- a/containers/Containerfile.hf +++ b/containers/Containerfile.hf @@ -4,7 +4,7 @@ # like to avoid re-doing this. # ---------------------------------------------------------------------------- -FROM docker.io/fedora:40 AS ai +FROM docker.io/fedora:42 AS ai ENV PIP_BREAK_SYSTEM_PACKAGES=1 @@ -15,11 +15,11 @@ RUN pip3 install torch==2.5.1+cpu \ --index-url https://download.pytorch.org/whl/cpu RUN pip3 install --no-cache-dir \ - langchain==0.3.13 langchain-core==0.3.28 langchain-huggingface==0.1.2 \ - langchain-community==0.3.13 \ - sentence-transformers==3.4.0 transformers==4.47.1 \ - huggingface-hub==0.27.0 \ - pulsar-client==3.5.0 + langchain==0.3.25 langchain-core==0.3.60 langchain-huggingface==0.2.0 \ + langchain-community==0.3.24 \ + sentence-transformers==4.1.0 transformers==4.51.3 \ + huggingface-hub==0.31.2 \ + pulsar-client==3.7.0 # Most commonly used embeddings model, just build it into the container # image diff --git a/containers/Containerfile.ocr b/containers/Containerfile.ocr index 8a454008..eb9d67b7 100644 --- a/containers/Containerfile.ocr +++ b/containers/Containerfile.ocr @@ -4,14 +4,14 @@ # like to avoid re-doing this. # ---------------------------------------------------------------------------- -FROM docker.io/fedora:40 AS base +FROM docker.io/fedora:42 AS base ENV PIP_BREAK_SYSTEM_PACKAGES=1 RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp \ python3-rdflib tesseract poppler poppler-utils -RUN pip3 install --no-cache-dir pytesseract pulsar-client==3.5.0 +RUN pip3 install --no-cache-dir pytesseract pulsar-client==3.7.0 # ---------------------------------------------------------------------------- # Build a container which contains the built Python packages. The build diff --git a/containers/Containerfile.vertexai b/containers/Containerfile.vertexai index 72d21bde..129e689c 100644 --- a/containers/Containerfile.vertexai +++ b/containers/Containerfile.vertexai @@ -4,7 +4,7 @@ # like to avoid re-doing this. # ---------------------------------------------------------------------------- -FROM docker.io/fedora:40 AS base +FROM docker.io/fedora:42 AS base ENV PIP_BREAK_SYSTEM_PACKAGES=1 @@ -12,7 +12,7 @@ RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp \ python3-rdflib RUN pip3 install --no-cache-dir \ - google-cloud-aiplatform pulsar-client==3.5.0 + google-cloud-aiplatform pulsar-client==3.7.0 # ---------------------------------------------------------------------------- # Build a container which contains the built Python packages. The build