From 2b082913a0afc388cde61ae05394809f4afaaf62 Mon Sep 17 00:00:00 2001 From: deeplow Date: Fri, 15 Dec 2023 13:00:30 +0000 Subject: [PATCH] Bump pymupdf version 1.23.7 The build was failing due to a missing kernel libraries. Adding the linux-headers dependency solves the issue. --- Dockerfile | 2 +- poetry.lock | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a337f55..85e40e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ RUN apk --no-cache -U upgrade && \ # Install PyMuPDF via hash-checked requirements file COPY ${REQUIREMENTS_TXT} /tmp/requirements.txt -RUN apk --no-cache add --virtual .builddeps g++ gcc make python3-dev py3-pip \ +RUN apk --no-cache add --virtual .builddeps linux-headers g++ gcc make python3-dev py3-pip \ && pip install --break-system-packages --require-hashes -r /tmp/requirements.txt \ && apk del .builddeps diff --git a/poetry.lock b/poetry.lock index 5dae30e..2487cee 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1037,4 +1037,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more [metadata] lock-version = "2.0" python-versions = ">=3.8,<3.12" -content-hash = "03520c6992b44c693148266b3ad875976d9161dcb19c74c57e0deb1c414a5f96" +content-hash = "4b75b5ccbeaf0158af68741cc9efe78eac44520226e17708866a1d7b6db42744" diff --git a/pyproject.toml b/pyproject.toml index 3cf5354..065be47 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ strip-ansi = "*" pymupdf = "^1.23.6" [tool.poetry.group.container.dependencies] -pymupdf = "1.23.6" +pymupdf = "*" [tool.isort] profile = "black"