-
Notifications
You must be signed in to change notification settings - Fork 894
Latest opencv (4.7.0.68) introduces fatal backward compatibility issue with ZLIB. #765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I see the same exception in aws lambda workload I reverted back opencv_python version to 4.6.0.66 in requirement.txt after the change no issues noticed. |
See opencv/opencv-python#765. PiperOrigin-RevId: 499218374 Change-Id: Ib39915dc7c9ddaec70f69e248103d3d198504ce4
Same issue on CentOS 7.9.2009. |
What comand or library install ZLIB? |
work for me |
* fix imports * zlib issue as per opencv/opencv-python#765 * Move to install info pattern Some were already on there Stripe is legacy Much cleaner and better to have those out of the way and on install info * Clean old comments * Remove legacy file_difference * Add ID for text relations, move curve info to curve * move instance base into it's own thing add geo types to lesson noise * remove legacy file_comparison_mode * Clean packet further Now should only be returning if values exit or based on the type code itself is still missing a bunch of classes but function should be cleaner now * align * clean * Remove Geo stuff from default test, Add dedicated geo test * add more data mocking and geo type * Update test_export_generation.py * Clean legacy items fix float expecated * Remove legacy occluded is used in keypoints but is stored in nodes.occluded not on the instance itself! `fan_made` is from old automl approach, but now should use `machine_made` which is the generic `new_instance` file is legacy was just a play thing, the xyz stuff is stored in `position_3d` etc * Update test_export_generation.py * Update test_export_generation.py
Summary: Related issue: opencv/opencv-python#765 It seems that the fix won't add to the regular pypi release (https://pypi.org/project/opencv-python/#history), skip this version in our config. Differential Revision: D42859319 fbshipit-source-id: 136727f359f8a141fbc6cc14713e2f65881db05b
Summary: Pull Request resolved: #4760 Related issue: opencv/opencv-python#765 The newly released opencv 4.7.0.68 isn't BC compatible on CircleCI linux environment, although there were a fix but it seems that the fix won't add to the regular pypi release very soon (https://pypi.org/project/opencv-python/#history), skip this version in our config. Reviewed By: tglik Differential Revision: D42859319 fbshipit-source-id: 04dd155051733844c5ca7d79480aa65e006cab16
Fixed in 4.7.0.70. |
System Information
OpenCV python version: 4.7.0.68
Operating System / Platform:
quay.io/pypa/manylinux_2_24_x86_64
Python version: 3.8+
ZLIB version: 1.2.8
OpenCV python version: 4.7.0.68
Operating System / Platform:
quay.io/pypa/manylinux2014
Python version: 3.8+
ZLIB version: 1.2.7
Detailed description
The latest opencv (4.7.0.68) requires
ZLIB >= 1.2.9
. This upgrade introduces fatal backward compatibility issue, since the dominant platforms likemanylinux2014
andmanylinux_2_24_x86_64
can't meet the requirement, especially the related wheels are shipped with platform tagmanylinux2014_x86_64
. As a consequence, running the latest opencv (4.7.0.68) on those platforms raises theversion ZLIB_1.2.9 not found
error.Steps to reproduce
docker run --rm -it quay.io/pypa/manylinux2014_x86_64 /opt/python/cp38-cp38/bin/pip install opencv-python-headless /opt/python/cp38-cp38/bin/python -c 'import cv2 as cv'
docker run --rm -it quay.io/pypa/manylinux_2_24_x86_64 /opt/python/cp38-cp38/bin/pip install opencv-python-headless /opt/python/cp38-cp38/bin/python -c 'import cv2 as cv'
The log of
pip
:Example of the error:
Issue submission checklist
The text was updated successfully, but these errors were encountered: