Skip to content

Fix failing OpenCV 5 sdist builds on Windows on ARM#369

Merged
Avasam merged 2 commits into
mainfrom
opencv5-build-fix
Jul 4, 2026
Merged

Fix failing OpenCV 5 sdist builds on Windows on ARM#369
Avasam merged 2 commits into
mainfrom
opencv5-build-fix

Conversation

@Avasam

@Avasam Avasam commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@Avasam Avasam changed the title Try -DBUILD_opencv_gapi=OFF Fix failing OpenCV 5 sdist builds on Windows on ARM Jul 4, 2026
Comment thread pyproject.toml
Comment on lines +13 to +17
# Windows ARM64 has no opencv wheel (any version) so it source-builds the sdist.
# v5 sdist fails to build there (opencv-python setup.py expects an ffmpeg dll that
# isn't provided for win-arm64). Pin to the last 4.x that builds until win-arm64
# wheels ship: https://github.com/opencv/opencv-python/pull/1143
"opencv-contrib-python-headless ==4.11.*; sys_platform == 'win32' and platform_machine == 'ARM64'",

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Avasam Avasam merged commit dd9c3a3 into main Jul 4, 2026
14 checks passed
@Avasam Avasam deleted the opencv5-build-fix branch July 4, 2026 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant