From 048d271361c7b274d3d4cd066144051dbdead671 Mon Sep 17 00:00:00 2001 From: dcleres Date: Thu, 22 Aug 2024 12:04:20 +0200 Subject: [PATCH] Close #LGVISIUM-57: Downgraded the PyMuPDF version and updated the README --- README.md | 2 ++ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2fed00db..79191ec5 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,8 @@ pip install -e '.[all]' Alternatively you can replace the `pip install -e '.[all]'` command with `pip install git+https://github.com/swisstopo/swissgeol-boreholes-dataextraction.git` in production scenarios. +Adding pip packages can be done by editing the `pyproject.toml` of the project and adding the required package. + ## Run data extraction To execute the data extraction pipeline, follow these steps: diff --git a/pyproject.toml b/pyproject.toml index 2f159742..534c9658 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ dependencies = [ "langdetect>=1.0.9", "regex", "backoff", - "PyMuPDF>=1.23.26", + "PyMuPDF>=1.23.26,<1.24.2", "opencv-python-headless", "quads>=1.1.0", "numpy<2",