Repository navigation
Closed
Labels
free-threadingPRs and issues related to support for free-threaded CPython (a.k.a. nogil or no-GIL, PEP 703)
Description
CI is still failing on Unit tests Linux x86-64 pylatest_free_threaded (May 21, 2026)
- test_estimators[GradientBoostingRegressor(n_estimators=5)-check_regressors_train]
- test_estimators[GradientBoostingRegressor(n_estimators=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[GradientBoostingRegressor(n_estimators=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[GridSearchCV(cv=2,error_score='raise',estimator=Ridge(),param_grid={'alpha':[0.1,1.0]})-check_regressors_train]
- test_estimators[GridSearchCV(cv=2,error_score='raise',estimator=Ridge(),param_grid={'alpha':[0.1,1.0]})-check_regressors_train(readonly_memmap=True)]
- test_estimators[GridSearchCV(cv=2,error_score='raise',estimator=Ridge(),param_grid={'alpha':[0.1,1.0]})-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[GridSearchCV(cv=2,error_score='raise',estimator=Pipeline(steps=[('pca',PCA()),('ridge',Ridge())]),param_grid={'ridge__alpha':[0.1,1.0]})-check_regressors_train]
- test_estimators[GridSearchCV(cv=2,error_score='raise',estimator=Pipeline(steps=[('pca',PCA()),('ridge',Ridge())]),param_grid={'ridge__alpha':[0.1,1.0]})-check_regressors_train(readonly_memmap=True)]
- test_estimators[GridSearchCV(cv=2,error_score='raise',estimator=Pipeline(steps=[('pca',PCA()),('ridge',Ridge())]),param_grid={'ridge__alpha':[0.1,1.0]})-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[HalvingGridSearchCV(cv=2,error_score='raise',estimator=Ridge(),min_resources='smallest',param_grid={'alpha':[0.1,1.0]},random_state=0)-check_regressors_train]
- test_estimators[HalvingGridSearchCV(cv=2,error_score='raise',estimator=Ridge(),min_resources='smallest',param_grid={'alpha':[0.1,1.0]},random_state=0)-check_regressors_train(readonly_memmap=True)]
- test_estimators[HalvingGridSearchCV(cv=2,error_score='raise',estimator=Ridge(),min_resources='smallest',param_grid={'alpha':[0.1,1.0]},random_state=0)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[HalvingGridSearchCV(cv=2,error_score='raise',estimator=Pipeline(steps=[('pca',PCA()),('ridge',Ridge())]),min_resources='smallest',param_grid={'ridge__alpha':[0.1,1.0]},random_state=0)-check_regressors_train]
- test_estimators[HalvingGridSearchCV(cv=2,error_score='raise',estimator=Pipeline(steps=[('pca',PCA()),('ridge',Ridge())]),min_resources='smallest',param_grid={'ridge__alpha':[0.1,1.0]},random_state=0)-check_regressors_train(readonly_memmap=True)]
- test_estimators[HalvingGridSearchCV(cv=2,error_score='raise',estimator=Pipeline(steps=[('pca',PCA()),('ridge',Ridge())]),min_resources='smallest',param_grid={'ridge__alpha':[0.1,1.0]},random_state=0)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[HalvingRandomSearchCV(cv=2,error_score='raise',estimator=Ridge(),param_distributions={'alpha':[0.1,1.0]},random_state=0)-check_regressors_train]
- test_estimators[HalvingRandomSearchCV(cv=2,error_score='raise',estimator=Ridge(),param_distributions={'alpha':[0.1,1.0]},random_state=0)-check_regressors_train(readonly_memmap=True)]
- test_estimators[HalvingRandomSearchCV(cv=2,error_score='raise',estimator=Ridge(),param_distributions={'alpha':[0.1,1.0]},random_state=0)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[HalvingRandomSearchCV(cv=2,error_score='raise',estimator=Pipeline(steps=[('pca',PCA()),('ridge',Ridge())]),param_distributions={'ridge__alpha':[0.1,1.0]},random_state=0)-check_regressors_train]
- test_estimators[HalvingRandomSearchCV(cv=2,error_score='raise',estimator=Pipeline(steps=[('pca',PCA()),('ridge',Ridge())]),param_distributions={'ridge__alpha':[0.1,1.0]},random_state=0)-check_regressors_train(readonly_memmap=True)]
- test_estimators[HalvingRandomSearchCV(cv=2,error_score='raise',estimator=Pipeline(steps=[('pca',PCA()),('ridge',Ridge())]),param_distributions={'ridge__alpha':[0.1,1.0]},random_state=0)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[HistGradientBoostingRegressor(max_iter=5,min_samples_leaf=5)-check_regressors_train]
- test_estimators[HistGradientBoostingRegressor(max_iter=5,min_samples_leaf=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[HistGradientBoostingRegressor(max_iter=5,min_samples_leaf=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[HuberRegressor(max_iter=5)-check_regressors_train]
- test_estimators[HuberRegressor(max_iter=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[HuberRegressor(max_iter=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[KNeighborsRegressor(metric='precomputed')-check_regressors_train]
- test_estimators[KNeighborsRegressor(metric='precomputed')-check_regressors_train(readonly_memmap=True)]
- test_estimators[KNeighborsRegressor(metric='precomputed')-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[KernelRidge()-check_regressors_train]
- test_estimators[KernelRidge()-check_regressors_train(readonly_memmap=True)]
- test_estimators[KernelRidge()-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[Lars()-check_regressors_train]
- test_estimators[Lars()-check_regressors_train(readonly_memmap=True)]
- test_estimators[Lars()-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[LarsCV(cv=3,max_iter=5)-check_regressors_train]
- test_estimators[LarsCV(cv=3,max_iter=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[LarsCV(cv=3,max_iter=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[Lasso(max_iter=5)-check_regressors_train]
- test_estimators[Lasso(max_iter=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[Lasso(max_iter=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[LassoCV(cv=3,max_iter=5)-check_regressors_train]
- test_estimators[LassoCV(cv=3,max_iter=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[LassoCV(cv=3,max_iter=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[LassoLars(max_iter=5)-check_regressors_train]
- test_estimators[LassoLars(max_iter=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[LassoLars(max_iter=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[LassoLarsCV(cv=3,max_iter=5)-check_regressors_train]
- test_estimators[LassoLarsCV(cv=3,max_iter=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[LassoLarsCV(cv=3,max_iter=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[LassoLarsIC(max_iter=5,noise_variance=1.0)-check_regressors_train]
- test_estimators[LassoLarsIC(max_iter=5,noise_variance=1.0)-check_regressors_train(readonly_memmap=True)]
- test_estimators[LassoLarsIC(max_iter=5,noise_variance=1.0)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[LinearRegression()-check_regressors_train]
- test_estimators[LinearRegression()-check_regressors_train(readonly_memmap=True)]
- test_estimators[LinearRegression()-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[LinearSVR(max_iter=20)-check_regressors_train]
- test_estimators[LinearSVR(max_iter=20)-check_regressors_train(readonly_memmap=True)]
- test_estimators[LinearSVR(max_iter=20)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[MultiOutputRegressor(estimator=Ridge())-check_regressors_train]
- test_estimators[MultiOutputRegressor(estimator=Ridge())-check_regressors_train(readonly_memmap=True)]
- test_estimators[MultiOutputRegressor(estimator=Ridge())-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[MultiTaskElasticNet(max_iter=5)-check_regressors_train]
- test_estimators[MultiTaskElasticNet(max_iter=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[MultiTaskElasticNet(max_iter=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[MultiTaskElasticNetCV(cv=3,max_iter=5)-check_regressors_train]
- test_estimators[MultiTaskElasticNetCV(cv=3,max_iter=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[MultiTaskElasticNetCV(cv=3,max_iter=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[MultiTaskLasso(max_iter=5)-check_regressors_train]
- test_estimators[MultiTaskLasso(max_iter=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[MultiTaskLasso(max_iter=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[MultiTaskLassoCV(cv=3,max_iter=5)-check_regressors_train]
- test_estimators[MultiTaskLassoCV(cv=3,max_iter=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[MultiTaskLassoCV(cv=3,max_iter=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[OrthogonalMatchingPursuit()-check_regressors_train]
- test_estimators[OrthogonalMatchingPursuit()-check_regressors_train(readonly_memmap=True)]
- test_estimators[OrthogonalMatchingPursuit()-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[OrthogonalMatchingPursuitCV(cv=3)-check_regressors_train]
- test_estimators[OrthogonalMatchingPursuitCV(cv=3)-check_regressors_train(readonly_memmap=True)]
- test_estimators[OrthogonalMatchingPursuitCV(cv=3)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[PassiveAggressiveRegressor(max_iter=5)-check_regressors_train]
- test_estimators[PassiveAggressiveRegressor(max_iter=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[PassiveAggressiveRegressor(max_iter=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[Pipeline(steps=[('scaler',StandardScaler()),('final_estimator',Ridge())])-check_regressors_train]
- test_estimators[Pipeline(steps=[('scaler',StandardScaler()),('final_estimator',Ridge())])-check_regressors_train(readonly_memmap=True)]
- test_estimators[Pipeline(steps=[('scaler',StandardScaler()),('final_estimator',Ridge())])-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[PoissonRegressor(max_iter=5)-check_regressors_train]
- test_estimators[PoissonRegressor(max_iter=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[PoissonRegressor(max_iter=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[QuantileRegressor()-check_regressors_train]
- test_estimators[QuantileRegressor()-check_regressors_train(readonly_memmap=True)]
- test_estimators[QuantileRegressor()-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[RANSACRegressor(estimator=LinearRegression(),max_trials=10)-check_regressors_train]
- test_estimators[RANSACRegressor(estimator=LinearRegression(),max_trials=10)-check_regressors_train(readonly_memmap=True)]
- test_estimators[RANSACRegressor(estimator=LinearRegression(),max_trials=10)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[RandomizedSearchCV(cv=2,error_score='raise',estimator=Ridge(),param_distributions={'alpha':[0.1,1.0]},random_state=0)-check_regressors_train]
- test_estimators[RandomizedSearchCV(cv=2,error_score='raise',estimator=Ridge(),param_distributions={'alpha':[0.1,1.0]},random_state=0)-check_regressors_train(readonly_memmap=True)]
- test_estimators[RandomizedSearchCV(cv=2,error_score='raise',estimator=Ridge(),param_distributions={'alpha':[0.1,1.0]},random_state=0)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[RandomizedSearchCV(cv=2,error_score='raise',estimator=Pipeline(steps=[('pca',PCA()),('ridge',Ridge())]),param_distributions={'ridge__alpha':[0.1,1.0]},random_state=0)-check_regressors_train]
- test_estimators[RandomizedSearchCV(cv=2,error_score='raise',estimator=Pipeline(steps=[('pca',PCA()),('ridge',Ridge())]),param_distributions={'ridge__alpha':[0.1,1.0]},random_state=0)-check_regressors_train(readonly_memmap=True)]
- test_estimators[RandomizedSearchCV(cv=2,error_score='raise',estimator=Pipeline(steps=[('pca',PCA()),('ridge',Ridge())]),param_distributions={'ridge__alpha':[0.1,1.0]},random_state=0)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[RegressorChain(cv=3,estimator=Ridge())-check_regressors_train]
- test_estimators[RegressorChain(cv=3,estimator=Ridge())-check_regressors_train(readonly_memmap=True)]
- test_estimators[RegressorChain(cv=3,estimator=Ridge())-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[Ridge()-check_regressors_train]
- test_estimators[Ridge()-check_regressors_train(readonly_memmap=True)]
- test_estimators[Ridge()-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[RidgeCV()-check_regressors_train]
- test_estimators[RidgeCV()-check_regressors_train(readonly_memmap=True)]
- test_estimators[RidgeCV()-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[SGDRegressor(max_iter=5)-check_regressors_train]
- test_estimators[SGDRegressor(max_iter=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[SGDRegressor(max_iter=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[SVR()-check_regressors_train]
- test_estimators[SVR()-check_regressors_train(readonly_memmap=True)]
- test_estimators[SVR()-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[SVR(kernel='precomputed')-check_regressors_train]
- test_estimators[SVR(kernel='precomputed')-check_regressors_train(readonly_memmap=True)]
- test_estimators[SVR(kernel='precomputed')-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[StackingRegressor(cv=3,estimators=[('est1',DecisionTreeRegressor(max_depth=3,random_state=0)),('est2',DecisionTreeRegressor(max_depth=3,random_state=1))])-check_regressors_train]
- test_estimators[StackingRegressor(cv=3,estimators=[('est1',DecisionTreeRegressor(max_depth=3,random_state=0)),('est2',DecisionTreeRegressor(max_depth=3,random_state=1))])-check_regressors_train(readonly_memmap=True)]
- test_estimators[StackingRegressor(cv=3,estimators=[('est1',DecisionTreeRegressor(max_depth=3,random_state=0)),('est2',DecisionTreeRegressor(max_depth=3,random_state=1))])-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[TheilSenRegressor(max_iter=5,max_subpopulation=100)-check_regressors_train]
- test_estimators[TheilSenRegressor(max_iter=5,max_subpopulation=100)-check_regressors_train(readonly_memmap=True)]
- test_estimators[TheilSenRegressor(max_iter=5,max_subpopulation=100)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[TweedieRegressor(max_iter=5)-check_regressors_train]
- test_estimators[TweedieRegressor(max_iter=5)-check_regressors_train(readonly_memmap=True)]
- test_estimators[TweedieRegressor(max_iter=5)-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_estimators[VotingRegressor(estimators=[('est1',DecisionTreeRegressor(max_depth=3,random_state=0)),('est2',DecisionTreeRegressor(max_depth=3,random_state=1))])-check_regressors_train]
- test_estimators[VotingRegressor(estimators=[('est1',DecisionTreeRegressor(max_depth=3,random_state=0)),('est2',DecisionTreeRegressor(max_depth=3,random_state=1))])-check_regressors_train(readonly_memmap=True)]
- test_estimators[VotingRegressor(estimators=[('est1',DecisionTreeRegressor(max_depth=3,random_state=0)),('est2',DecisionTreeRegressor(max_depth=3,random_state=1))])-check_regressors_train(readonly_memmap=True,X_dtype=float32)]
- test_check_estimator_pairwise
Metadata
Metadata
Assignees
Labels
free-threadingPRs and issues related to support for free-threaded CPython (a.k.a. nogil or no-GIL, PEP 703)
Activity
lesteve commentedon Mar 6, 2026
March 6 build log
I did not manage to reproduce locally via:
pytest sklearn/tests/test_common.py -k 'RANSAC and check_regressors' --parallel-threads 4 --iterations 100scikit-learn-bot commentedon Mar 7, 2026
CI is no longer failing! ✅
Successful run on May 28, 2026
[-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Mar 06, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Mar 10, 2026) ⚠️[/+]lesteve commentedon Mar 10, 2026
March 10 build log
A variation of the test_forest one was also seen in
mainon Linux arm for some reason see build logA variant also seen on Pyodide on main build log
This one is tracked in #33510.
This one not sure, maybe an additional
cloneis needed somewhere (complete wild-guess):[-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Mar 10, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Mar 16, 2026) ⚠️[/+]lesteve commentedon Mar 16, 2026
March 6
and
March 16 shows somewhat similar errors:
March 6
March 16
I haven't managed to reproduce it locally. This one in particular is quite weird, because the test uses thread_unsafe marker but still fails
Annoyingly the pytest assertion rewrite mechanism does not seem to work in this particular case so you don't get the value of
regressor.score(X, y_)in the CI log:One weird thing I noticed is that for some weird reason the
yvariable is different between both runs and different to what I am seeing locally (Xseems to match):https://github.com/scikit-learn/scikit-learn/actions/runs/22747548461/job/65974717148#step:9:1128
https://github.com/scikit-learn/scikit-learn/actions/runs/23126902430/job/67171882619#step:9:1563
Looking at the code, I don't really see how they could be different. Sure the
globalusage in_regression_datasetscikit-learn/sklearn/utils/estimator_checks.py
Lines 936 to 949 in 40eb9ba
[-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Mar 16, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Apr 14, 2026) ⚠️[/+][-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Apr 14, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Apr 19, 2026) ⚠️[/+][-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Apr 19, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Apr 22, 2026) ⚠️[/+][-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Apr 22, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Apr 24, 2026) ⚠️[/+]1 remaining item
[-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Apr 26, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Apr 28, 2026) ⚠️[/+][-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Apr 28, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Apr 29, 2026) ⚠️[/+][-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: Apr 29, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 04, 2026) ⚠️[/+][-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 04, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 07, 2026) ⚠️[/+][-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 07, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 08, 2026) ⚠️[/+][-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 08, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 09, 2026) ⚠️[/+][-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 09, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 14, 2026) ⚠️[/+][-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 14, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 16, 2026) ⚠️[/+][-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 16, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 17, 2026) ⚠️[/+][-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 17, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 20, 2026) ⚠️[/+][-]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 20, 2026) ⚠️[/-][+]⚠️ CI failed on Unit tests Linux x86-64 pylatest_free_threaded (last failure: May 21, 2026) ⚠️[/+]itamarst commentedon May 21, 2026
Going to take a look and see if anything leaps out at me.
itamarst commentedon May 26, 2026
Looking at the code, the plausible reason that these tests are failing is that the
estimatorobject is persistent both sequentially in time (across different tests) but also used and potentially mutated concurrently by multiple tests in the--parallel-threadscase. My hypothesis is therefore that copying the estimator before running the test should solve the problems, because no mutable state will then been modified.Unfortunately I've failed to reproduce anything locally, so I'm going to open a draft PR with this proposed fix and try a bunch of runs to see if it empirically seems to make the problem go away.
itamarst commentedon May 26, 2026
The above hypothesis is wrong, at least for the estimator, so will keep looking.