Bump pymupdf version 1.23.7

The build was failing due to a missing kernel libraries. Adding the
linux-headers dependency solves the issue.
This commit is contained in:
deeplow 2023-12-15 13:00:30 +00:00
parent 250d8356cd
commit 2b082913a0
No known key found for this signature in database
GPG key ID: 577982871529A52A
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ RUN apk --no-cache -U upgrade && \
# Install PyMuPDF via hash-checked requirements file # Install PyMuPDF via hash-checked requirements file
COPY ${REQUIREMENTS_TXT} /tmp/requirements.txt 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 \ && pip install --break-system-packages --require-hashes -r /tmp/requirements.txt \
&& apk del .builddeps && apk del .builddeps

2
poetry.lock generated
View file

@ -1037,4 +1037,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = ">=3.8,<3.12" python-versions = ">=3.8,<3.12"
content-hash = "03520c6992b44c693148266b3ad875976d9161dcb19c74c57e0deb1c414a5f96" content-hash = "4b75b5ccbeaf0158af68741cc9efe78eac44520226e17708866a1d7b6db42744"

View file

@ -54,7 +54,7 @@ strip-ansi = "*"
pymupdf = "^1.23.6" pymupdf = "^1.23.6"
[tool.poetry.group.container.dependencies] [tool.poetry.group.container.dependencies]
pymupdf = "1.23.6" pymupdf = "*"
[tool.isort] [tool.isort]
profile = "black" profile = "black"