Skip to content

⚠️ CI failed on Wheel builder (last failure: Nov 27, 2026) ⚠️ #35209

Open

Description

@scikit-learn-bot

CI is still failing on Wheel builder (Nov 27, 2026)

Activity

  1. added
    Needs Triage
    on Oct 23, 2026
  2. lesteve commented on Oct 23, 2026

    @lesteve
    Member

    October 23 https://github.com/scikit-learn/scikit-learn/actions/runs/39897136629.

    Another one of the upload artifact issue on macOS see scikit-learn/scikit-learn-release#7 (comment) for more details.

    Error: Failed to CreateArtifact: Unable to make request: ENOTFOUND
    

    I am leaving this one open to see how often this happens but if someone want to close it that's fine as well 🤷

  3. changed the title [-]⚠️ CI failed on Wheel builder (last failure: Oct 23, 2026) ⚠️[/-] [+]⚠️ CI failed on Wheel builder (last failure: Oct 24, 2026) ⚠️[/+] on Oct 24, 2026
  4. scikit-learn-bot commented on Oct 25, 2026

    @scikit-learn-bot
    ContributorAuthor

    CI is no longer failing! ✅

    Successful run on Dec 02, 2026

  5. added
    Needs Investigation
    and removed
    Needs Triage
    on Oct 26, 2026
  6. cakedev0 commented on Oct 26, 2026

    @cakedev0
    Member

    It seems the failures came from GitHub and container-registry outages, as you say, let's see how often it happens.

  7. changed the title [-]⚠️ CI failed on Wheel builder (last failure: Oct 24, 2026) ⚠️[/-] [+]⚠️ CI failed on Wheel builder (last failure: Nov 01, 2026) ⚠️[/+] on Nov 1, 2026
  8. virchan commented on Nov 2, 2026

    @virchan
    Member

    Wheel Builder is still failing on November 1, 2026. Two macOS jobs failed:

    Both failed on the unit test test_equivalence_of_default_C_and_alpha[newton-cg-True-3].

    Full traceback
        n_classes = 3
        sample_weight = array([1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2,
               1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1,...    1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2,
               1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2])
        solver = 'newton-cg'
        
            @pytest.mark.filterwarnings("ignore:.*C.*? was deprecated.*:FutureWarning")
            # TODO(1.12): remove filterwarnings with deprecation of liblinear
            @pytest.mark.filterwarnings("ignore:The solver 'liblinear':FutureWarning")
            @pytest.mark.parametrize("n_classes", [2, 3])
            @pytest.mark.parametrize("sample_weight", [False, True])
            @pytest.mark.parametrize("solver", SOLVERS)
            def test_equivalence_of_default_C_and_alpha(n_classes, sample_weight, solver):
                """Test that the default values of old C and new alpha give same results."""
                if n_classes > 2 and solver in ("liblinear", "newton-cd"):
                    pytest.skip("Solver does not support multiclass.")
                X, y = make_classification(
                    n_classes=n_classes,
                    n_samples=300,
                    n_features=5,
                    n_informative=4,
                    n_redundant=0,
                    random_state=42,
                )
                # Speedup convergence by standardizing X.
                X = StandardScaler().fit_transform(X)
                params = dict(solver=solver, tol=1e-9, max_iter=2000, random_state=44)
                if sample_weight:
                    sample_weight = np.arange(X.shape[0]) % 2 + 1
                else:
                    sample_weight = None
            
                for alpha, C in ((0, np.inf), (0.1, 10), (1.0, 1.0), (10, 0.1), (1e5, 1e-5)):
                    if solver == "liblinear" and (alpha == 0 or alpha > 1e3):
                        # C=np.inf as well as alpha=0 (penalty=None) is not supported for the
                        # liblinear solver. For huge alpha / tiny C, liblinear freezes.
                        continue
                    with ignore_warnings(category=ConvergenceWarning):
                        clf_C = LogisticRegression(C=C, **params).fit(X, y, sample_weight)
                        # alpha=1/C
                        clf_alpha = LogisticRegression(alpha=alpha, **params).fit(
                            X, y, sample_weight
                        )
                    m = f"{alpha=} {C=}"
                    assert_allclose(clf_C.coef_, clf_alpha.coef_, err_msg=m, rtol=1e-6, atol=1e-11)
            
                params["scoring"] = "neg_log_loss"
                for alphas, Cs in ((5, 5), ([0, 0.1, 10, 1e5], [np.inf, 10, 0.1, 1e-5])):
                    if solver == "liblinear" and not isinstance(alphas, int):
                        # C=np.inf is unsupported. For huge alpha / tiny C, liblinear freezes.
                        alphas = [alpha for alpha in alphas if 0 < alpha < 1e3]
                        Cs = [C for C in Cs if (C > 1e-3 and np.isfinite(C))]
                    with ignore_warnings(category=ConvergenceWarning):
                        clf_C = LogisticRegressionCV(Cs=Cs, **params).fit(X, y, sample_weight)
                        clf_alpha = LogisticRegressionCV(alphas=alphas, **params).fit(
                            X, y, sample_weight
                        )
                    assert clf_C.C_ == pytest.approx(
                        np.inf if clf_alpha.alpha_ == 0 else 1 / clf_alpha.alpha_
                    )
                    m = f"{alphas=} {Cs=}"
        >           assert_allclose(clf_C.coef_, clf_alpha.coef_, err_msg=m, rtol=5e-7, atol=1e-11)
        E           AssertionError: 
        E           Not equal to tolerance rtol=5e-07, atol=1e-11
        E           alphas=[0, 0.1, 10, 100000.0] Cs=[inf, 10, 0.1, 1e-05]
        E           Mismatched elements: 1 / 15 (6.67%)
        E           Mismatch at index:
        E            [1, 2]: -0.003124705468219321 (ACTUAL), -0.00312470794767152 (DESIRED)
        E           Max absolute difference among violations: 2.4794522e-09
        E           Max relative difference among violations: 7.93498861e-07
        E            ACTUAL: array([[ 0.306673, -2.203073,  0.094285, -0.020493, -0.580896],
        E                  [-0.33156 ,  1.052522, -0.003125, -0.502806,  0.369638],
        E                  [ 0.024887,  1.15055 , -0.09116 ,  0.523299,  0.211258]])
        E            DESIRED: array([[ 0.306673, -2.203073,  0.094285, -0.020493, -0.580896],
        E                  [-0.33156 ,  1.052522, -0.003125, -0.502806,  0.369638],
        E                  [ 0.024887,  1.15055 , -0.09116 ,  0.523299,  0.211258]])

    This one is a numerical test failure, not an artifact-uploading issue.

    A quick fix would be relaxing the atol.

  9. added 2 commits that reference this issue on Nov 2, 2026
  10. changed the title [-]⚠️ CI failed on Wheel builder (last failure: Nov 01, 2026) ⚠️[/-] [+]⚠️ CI failed on Wheel builder (last failure: Nov 27, 2026) ⚠️[/+] on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Build / CINeeds Investigation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions