Bladeren bron

build(deps): add upper version limit for PyMuPDF

- Set PyMuPDF version to <= 1.24.14 in all requirements files
- Prevent potential compatibility issues with future versions
myhloli 10 maanden geleden
bovenliggende
commit
ee9340eaf8
4 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 1 1
      docker/ascend_npu/requirements.txt
  2. 1 1
      docker/china/requirements.txt
  3. 1 1
      docker/global/requirements.txt
  4. 1 1
      requirements.txt

+ 1 - 1
docker/ascend_npu/requirements.txt

@@ -1,7 +1,7 @@
 boto3>=1.28.43
 Brotli>=1.1.0
 click>=8.1.7
-PyMuPDF>=1.24.9
+PyMuPDF>=1.24.9,<=1.24.14
 loguru>=0.6.0
 numpy>=1.21.6,<2.0.0
 fast-langdetect>=0.2.3,<0.3.0

+ 1 - 1
docker/china/requirements.txt

@@ -1,7 +1,7 @@
 boto3>=1.28.43
 Brotli>=1.1.0
 click>=8.1.7
-PyMuPDF>=1.24.9
+PyMuPDF>=1.24.9,<=1.24.14
 loguru>=0.6.0
 numpy>=1.21.6,<2.0.0
 fast-langdetect>=0.2.3,<0.3.0

+ 1 - 1
docker/global/requirements.txt

@@ -1,7 +1,7 @@
 boto3>=1.28.43
 Brotli>=1.1.0
 click>=8.1.7
-PyMuPDF>=1.24.9
+PyMuPDF>=1.24.9,<=1.24.14
 loguru>=0.6.0
 numpy>=1.21.6,<2.0.0
 fast-langdetect>=0.2.3,<0.3.0

+ 1 - 1
requirements.txt

@@ -5,7 +5,7 @@ fast-langdetect>=0.2.3
 loguru>=0.6.0
 numpy>=1.21.6,<2.0.0
 pydantic>=2.7.2
-PyMuPDF>=1.24.9
+PyMuPDF>=1.24.9,<=1.24.14
 scikit-learn>=1.0.2
 torch>=2.2.2
 transformers