-
Notifications
You must be signed in to change notification settings - Fork 891
Update dependent numpy version fron 1.19 -> 1.22 : Supports python3.10 #525
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
At this moment, |
This issue is misnamed. Given the Py3.10 statements at https://github.com/numpy/numpy/releases this issue should emphasize the currently released numpy 1.21, not future numpy 1.22 releases. https://www.python.org/downloads/release/python-3100rc2 |
Fixes opencv#525 Numpy's Python 3.10 statements at https://github.com/numpy/numpy/releases Python 3.10 release candidate 2 https://www.python.org/downloads/release/python-3100rc2 https://github.com/actions/python-versions/releases --> 3.10.0-rc.2
Fixes opencv#525 Numpy's Python 3.10 statements at https://github.com/numpy/numpy/releases Python 3.10 release candidate 2 https://www.python.org/downloads/release/python-3100rc2 https://github.com/actions/python-versions/releases --> 3.10.0-rc.2
I could not make this work. Py3.10 release is scheduled for Oct. 4th. |
Fixes: opencv#525 Fixes: opencv#552 Redo of opencv#539 now that Python 3.10 is released. * https://pythoninsider.blogspot.com/2021/10/python-3100-is-available.html * https://pypi.org/project/numpy
@EisbarGFX @cclauss I'm working on it, almost all platforms are prepared, only MacOS left. PR will be as soon as possible. |
Enabled Python 3.10 support in OpenCV 4.5.4 release. Packages for Python prior 3.10 have old dependency for compatibility. Packages for Python 3.10 depends on numpy 1.22. |
Numpy now supports python 3.10 in its latest 1.22 release, however, opencv-python still uses 1.19 as its dependent version when installing via pip. Ideally, it would be best to update the numpy version to at least provide the option of using 3.10, even with the likelihood of bugs in other sections of the opencv code still present.
Currently, installing with pip leads to a rather large error with the line
setup.py:67: RuntimeWarning: NumPy 1.19.3 may not yet support Python 3.10.
after collecting numpy. However, issues posted on the numpy github show that they have had support for Python 3.10 releases for almost a full year now, with RC1 on 1.22dev being the most recent.The text was updated successfully, but these errors were encountered: