mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2026-08-28 20:08:54 +08:00
09e8700fe6
* ci,docs: align PaddleX install branch and document py3.8 extras boundary - CI: derive the PaddleX install branch from the paddlex constraint in pyproject.toml (release/X.Y) so PR/GPU tests stay in sync as the paddleocr series advances; apply to both tests.yml and test_gpu.yml - CI: install only paddleocr[doc2md] on py3.8 since several paddlex transitive deps require py3.9+; add a py38_incompatible pytest marker and gate affected tests behind it - CI: pin paddlepaddle==3.0.0 on py3.8 / 3.1.0 on py3.9+ (match GPU CI) - CI: standardize workflow filenames (.yaml -> .yml, dashes -> underscores) - deps: pin lmdb<1.5 on py3.8 (newer lmdb wheels reference Py_SET_REFCNT, a py3.9 stdlib C API) - docs: note Python 3.8+ for base paddleocr/doc2md; py3.9+ for doc-parser/ie/trans/all extras (safetensors>=0.7 dropped py3.8) - docs: update PaddleOCR-VL manual-install Python range to 3.9-3.13 across all hardware variants (VL pipelines use doc-parser) - tests: tag tests that require py3.9+ extras/deps with py38_incompatible Signed-off-by: Bvicii <yizhanhuang2002@gmail.com> * ci: mark /workspace as git safe.directory in GPU runner setuptools_scm runs git to derive the package version during pip install -e .; inside the GPU CI container /workspace is owned by the host user, which trips git's dubious-ownership check and aborts the paddleocr install. Signed-off-by: Bvicii <yizhanhuang2002@gmail.com> --------- Signed-off-by: Bvicii <yizhanhuang2002@gmail.com>
19 lines
254 B
Plaintext
19 lines
254 B
Plaintext
shapely
|
|
scikit-image
|
|
pyclipper
|
|
lmdb; python_version >= "3.9"
|
|
lmdb<1.5; python_version < "3.9"
|
|
tqdm
|
|
numpy
|
|
rapidfuzz
|
|
opencv-python
|
|
opencv-contrib-python
|
|
cython
|
|
Pillow
|
|
pyyaml
|
|
requests
|
|
albumentations
|
|
# to be compatible with albumentations
|
|
albucore
|
|
packaging
|