From 1a836ca350b8978678bfd9e25e774d3a34332c08 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 29 Jan 2026 23:18:06 -0500 Subject: [PATCH 1/2] Revert "Demand prior releases of h5py for OSX on non-arm" This reverts commit cd5fbb0a08dad43854f6e29189b91ccca0fb78c9. This reverts the constraint added in cd5fbb0a 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 --- pyproject.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cf2fe82b3..f2f5db68b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,9 +53,6 @@ dependencies = [ "fasteners", "fscacher >= 0.3.0", - # Workaround for no wheels for intel OSX as of 3.15 - "h5py<3.15 ; sys_platform == 'darwin' and platform_machine != 'arm64'", - "h5py ; sys_platform != 'darwin' or platform_machine == 'arm64'", # 3.14.4: https://github.com/hdmf-dev/hdmf/issues/1186 "hdmf != 3.5.0,!=3.14.4", "humanize", From 7871a981d72d19d3d3a48a82bfe4ec05147aa1fc Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 30 Jan 2026 08:50:01 -0500 Subject: [PATCH 2/2] Pin opencv-python <4.13 for Intel macOS due to VideoWriter regression 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 --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f2f5db68b..bb1ab9295 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,7 +101,9 @@ style = [ test = [ "anys ~= 0.2", "coverage", - "opencv-python", + # Workaround for VideoWriter regression in 4.13.0.90 on Intel macOS + "opencv-python < 4.13 ; sys_platform == 'darwin' and platform_machine != 'arm64'", + "opencv-python ; sys_platform != 'darwin' or platform_machine == 'arm64'", "pytest", "pytest-cov", "pytest-mock",