From 34f5a141a06f8f50ddb6f80f677eb2d4ba52d242 Mon Sep 17 00:00:00 2001 From: Paul Koch Date: Sun, 8 Nov 2026 13:58:42 -0800 Subject: [PATCH 1/2] Fix nightly extension tests without six 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> --- python/interpret-core/tests/test_ext.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/python/interpret-core/tests/test_ext.py b/python/interpret-core/tests/test_ext.py index 4064b5d3e..c727157cb 100644 --- a/python/interpret-core/tests/test_ext.py +++ b/python/interpret-core/tests/test_ext.py @@ -2,7 +2,6 @@ # Distributed under the MIT software license from interpret.glassbox import LogisticRegression -from six import raise_from from .tutils import assert_valid_explanation, synthetic_classification @@ -16,14 +15,11 @@ def test_import_demo_extension_classes(): from interpret.ext.perf import ExamplePerfExplainer # noqa from interpret.ext.provider import ExampleVisualizeProvider # noqa except ImportError as import_error: - raise_from( - Exception( - "Failure in demo while trying " - "to load example explainers through extension_utils", - import_error, - ), - None, + msg = ( + "Failure in demo while trying " + "to load example explainers through extension_utils" ) + raise Exception(msg, import_error) from None def test_demo_blackbox_explainer(): From fb21475819b8a5230f30c04dbb1a72d168f57f7a Mon Sep 17 00:00:00 2001 From: Paul Koch Date: Sun, 8 Nov 2026 14:14:18 -0800 Subject: [PATCH 2/2] Use supported macOS runners for native builds 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> --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 926beee81..91d5c2dd6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,19 +45,19 @@ jobs: options: "-debug_arm" asm: "" - name: mac_release_64 - image: macos-14 + image: macos-15 options: "-release_64" asm: "-asm" - name: mac_debug_64 - image: macos-14 + image: macos-15 options: "-debug_64" asm: "" - name: mac_release_arm - image: macos-14 + image: macos-15 options: "-release_arm" asm: "-asm" - name: mac_debug_arm - image: macos-14 + image: macos-15 options: "-debug_arm" asm: "" - name: win_release_64