Skip to content

Fix nightly CI extension tests and unsupported macOS runners - #707

Merged
paulbkoch merged 2 commits into
mainfrom
paulbkoch-nightly-ci-fix
Nov 8, 2026
Merged

paulbkoch merged 2 commits into
mainfrom
paulbkoch-nightly-ci-fix

Conversation

@paulbkoch

@paulbkoch paulbkoch commented Nov 8, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Remove the obsolete six.raise_from import from tests/test_ext.py and use native raise ... from None syntax. The existing exception message, original import error argument, and suppressed exception context are preserved. Python 3.10+ is already required, so no compatibility dependency is needed.
  • Move all four native macOS build jobs from macos-14 to the supported macos-15 runner, preserving the existing x64 and ARM build configurations and artifacts.

Root causes

  1. Nightly source and wheel tests on macOS fail during collection with ModuleNotFoundError: No module named 'six'. The test suite depended on an undeclared, incidental dependency for a helper Python supports natively. Observed in November 8 nightly and November 5 nightly.
  2. The subsequent PR workflow failed before any macOS build steps ran: The configuration 'macos-14-arm64-us-default' is not supported. This blocks downstream packaging and tests.

Validation

  • Reproduced the collection failure locally by blocking the test module's six import before the fix; both extension tests pass with the same import blocked after the fix.
  • Confirmed the exception failure path preserves its arguments and suppressed context.
  • Touched-file formatting and diff checks pass; Ruff reports only the same 12 pre-existing findings.
  • Parsed the workflow and confirmed that only the four macOS build runner labels changed.
  • Triggered full nightly coverage with run_as_scheduled=true. All four macOS native build jobs have passed; remaining nightly jobs are still running or queued.

paulbkoch and others added 2 commits November 8, 2026 13:58
Replace the obsolete six.raise_from helper with native exception syntax, preserving the import failure message and suppressed exception context.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Move the four native macOS build jobs to macos-15 because the macos-14 ARM64 runner configuration is no longer supported.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@paulbkoch paulbkoch changed the title Fix nightly CI extension tests without six Fix nightly CI extension tests and unsupported macOS runners Nov 8, 2026
@codecov

codecov Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.78%. Comparing base (4a492be) to head (fb21475).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #707      +/-   ##
==========================================
- Coverage   67.83%   67.78%   -0.06%     
==========================================
  Files          77       77              
  Lines       11893    11893              
==========================================
- Hits         8068     8062       -6     
- Misses       3825     3831       +6     
Flag Coverage Δ
bdist_linux_311_python 67.54% <ø> (ø)
bdist_linux_312_python 67.54% <ø> (ø)
bdist_linux_313_python 67.52% <ø> (-0.02%) ⬇️
bdist_linux_314_python 67.45% <ø> (ø)
bdist_linuxarm_311_python 67.54% <ø> (-0.02%) ⬇️
bdist_linuxarm_312_python 67.56% <ø> (ø)
bdist_linuxarm_313_python 67.54% <ø> (-0.02%) ⬇️
bdist_linuxarm_314_python 67.47% <ø> (ø)
bdist_mac_311_python 67.70% <ø> (ø)
bdist_mac_312_python 67.70% <ø> (ø)
bdist_mac_313_python 67.70% <ø> (ø)
bdist_mac_314_python 67.59% <ø> (-0.04%) ⬇️
bdist_win_311_python 67.72% <ø> (ø)
bdist_win_312_python 67.70% <ø> (-0.02%) ⬇️
bdist_win_313_python 67.72% <ø> (ø)
bdist_win_314_python 67.63% <ø> (ø)
sdist_linux_311_python 67.47% <ø> (-0.03%) ⬇️
sdist_linux_312_python 67.49% <ø> (-0.01%) ⬇️
sdist_linux_313_python 67.49% <ø> (ø)
sdist_linux_314_python 67.38% <ø> (-0.02%) ⬇️
sdist_linuxarm_311_python 67.50% <ø> (ø)
sdist_linuxarm_312_python 67.50% <ø> (-0.02%) ⬇️
sdist_linuxarm_313_python 67.48% <ø> (-0.02%) ⬇️
sdist_linuxarm_314_python 67.39% <ø> (-0.02%) ⬇️
sdist_mac_311_python 67.60% <ø> (-0.02%) ⬇️
sdist_mac_312_python 67.61% <ø> (ø)
sdist_mac_313_python 67.58% <ø> (-0.06%) ⬇️
sdist_mac_314_python 67.52% <ø> (-0.02%) ⬇️
sdist_win_311_python 67.72% <ø> (ø)
sdist_win_312_python 67.70% <ø> (-0.02%) ⬇️
sdist_win_313_python 67.72% <ø> (ø)
sdist_win_314_python 67.63% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@paulbkoch
paulbkoch merged commit 003136e into main Nov 8, 2026
156 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant