-
Notifications
You must be signed in to change notification settings - Fork 865
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
Build broken with latest scikit-build release (0.14.0) #648
Comments
Most probably this pr fixes this issue: #637 |
#637 is merged into master, should fix this problem. Please, update your local opencv-python repository. |
I still cannot build with docker because of this exact issue - what do I do? |
|
The last release was in March (https://github.com/opencv/opencv-python/releases) and the fix landed in April so it's not yet in PyPI. You'll have to clone this repository or wait for a new release. |
@Augustinio Try |
Installing something in production blindly from a head branch of a remote repo is dangerous and could lead to unexpected behavior. It would be beneficial to make a new release that fixes building with advanced package managers like pip-tools and poetry. |
I am working with a different package, mmpose, that initially won't install. Building from HEAD allows mmpose to install, but mmcv is no longer able to read videos (not a problem with my original install of opencv-python from source). Maybe there is some issue as @lig indicates? |
OpenCV team works on 4.6 release. Right now. The patched version will be officially released in a couple of weeks. |
Can the fix be backported to 4.5? |
I needed to install
The critical part is the When specifying |
THis solved my issue |
The latest release of
scikit-build==0.14.0
, is breaking the build.When building a wheel (
pip wheel .
), the build crashes with the following errorNote that OpenCV does successfully build.
I don't think it's relevant, but the following environment variables were set:
However, this is fixed by limiting the version in
pyproject.toml
toscikit-build!=0.14.0
, i.e.The text was updated successfully, but these errors were encountered: