All versions >=3.0 through 3.4.2 of paddlex hard-pins opencv-contrib-python==4.10.0.84 and pyyaml==6.0.2 as exact-version dependencies.
This makes it impossible for downstream projects to use paddleocr>=3.0 alongside any other library that requires newer versions of these common packages.
- opencv-contrib-python==4.10.0.84 is from June 2024 and is missing APIs used by other ML libraries (e.g., cv2.setNumThreads behaves differently
when mixed with opencv-python>=4.13 in the same environment).
- pyyaml==6.0.2 less critical as not as outdated but will probably create problems later
All versions >=3.0 through 3.4.2 of paddlex hard-pins opencv-contrib-python==4.10.0.84 and pyyaml==6.0.2 as exact-version dependencies.
This makes it impossible for downstream projects to use paddleocr>=3.0 alongside any other library that requires newer versions of these common packages.
when mixed with opencv-python>=4.13 in the same environment).