Fix macOS-15-intel CI failures: h5py and opencv-python regressions#1783
Merged
CodyCBakerPhD merged 2 commits intomasterfrom Jan 30, 2026
Merged
Fix macOS-15-intel CI failures: h5py and opencv-python regressions#1783CodyCBakerPhD merged 2 commits intomasterfrom
CodyCBakerPhD merged 2 commits intomasterfrom
Conversation
This reverts commit cd5fbb0. This reverts the constraint added in cd5fbb0 which restricted h5py to versions <3.15 on Intel macOS based on the assumption that "no whls [were] built any longer". However, h5py 3.15.0 (released Oct 13, 2025) and 3.15.1 (released Oct 16, 2025) both include pre-built wheels for Intel macOS (x86_64) for all supported Python versions (3.10-3.14). The overly restrictive constraint caused CI test failures starting Jan 19, 2026 when the macos-15-intel GitHub Actions runner image was updated (version 20260120.0127.1). The same commit (ccdb659) passed on Jan 18 but failed on Jan 19, indicating an environmental incompatibility with the old h5py versions on the new runner. Fixes failing CI build #21127100740 (macos-15-intel CI failures) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
opencv-python 4.13.0.90 was released on PyPI on January 18, 2026 and introduced a regression in cv2.VideoWriter functionality on Intel macOS. The VideoWriter.write() method fails silently - files are not created, causing all video_organize tests to fail with FileNotFoundError: - test_video_organize[*] (8 variations) - test_video_organize_common[copy-0] Evidence: - Jan 18, 2026 (passing): opencv-python 4.12.0.88 - Jan 19, 2026+ (failing): opencv-python 4.13.0.90 - Same commit (ccdb659), same runner image (macos-15/20260112.0116) - Only affects macos-15-intel platform - All 9 test failures are in video organization tests - Error: test video files created by cv2.VideoWriter fixture don't exist The constraint is platform-specific (Intel macOS only) to allow: - ARM macOS: use latest opencv-python - Linux/Windows: use latest opencv-python - Intel macOS: pin to 4.12.x until upstream fix Upstream tracking: https://github.com/opencv/opencv-python/releases Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1783 +/- ##
=======================================
Coverage 75.10% 75.11%
=======================================
Files 84 84
Lines 11921 11921
=======================================
+ Hits 8953 8954 +1
+ Misses 2968 2967 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
CodyCBakerPhD
approved these changes
Jan 30, 2026
Contributor
|
Any idea what actual underlying issue with OpenCV is? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes two separate CI regression issues affecting macOS-15-intel runners starting January 19, 2026:
h5py Issue
Reverts the constraint added in cd5fbb0 which restricted h5py to versions <3.15 on Intel macOS based on the assumption that "no whls [were] built any longer".
However, h5py 3.15.0 (released Oct 13, 2025) and 3.15.1 (released Oct 16, 2025) both include pre-built wheels for Intel macOS (x86_64) for all supported Python versions (3.10-3.14).
The overly restrictive constraint caused compatibility issues when the macos-15-intel GitHub Actions runner image was updated (version 20260120.0127.1). The same commit (ccdb659) passed on Jan 18 but failed on Jan 19, indicating an environmental incompatibility with old h5py versions on the new runner.
opencv-python Issue
opencv-python 4.13.0.90 was released on PyPI on January 18, 2026 and introduced a regression in
cv2.VideoWriterfunctionality on Intel macOS.The
VideoWriter.write()method fails silently - files are not created, causing all video_organize tests to fail with FileNotFoundError:test_video_organize[*](8 variations)test_video_organize_common[copy-0]Evidence from tinuous logs:
The constraint is platform-specific (Intel macOS only) to allow:
Upstream tracking: https://github.com/opencv/opencv-python/releases
Test Results
Expected to fix all macos-15-intel CI failures that started appearing on January 19, 2026.
Fixes failing CI build #21127100740 and subsequent runs.