Fix macOS-15-intel CI failures: h5py and opencv-python regressions #1783
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.