Repository navigation
Fix nightly CI extension tests and unsupported macOS runners - #707
Merged
Merged
Conversation
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>
Codecov Report✅ All modified and coverable lines are covered by tests. 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 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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
six.raise_fromimport fromtests/test_ext.pyand use nativeraise ... from Nonesyntax. 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.macos-14to the supportedmacos-15runner, preserving the existing x64 and ARM build configurations and artifacts.Root causes
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.The configuration 'macos-14-arm64-us-default' is not supported. This blocks downstream packaging and tests.Validation
siximport before the fix; both extension tests pass with the same import blocked after the fix.run_as_scheduled=true. All four macOS native build jobs have passed; remaining nightly jobs are still running or queued.