You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
⚠️ CI failed on Wheel builder (last failure: Sep 17, 2026) ⚠️ #34977
Activity
scikit-learn-bot commentedon Sep 18, 2026
CI is no longer failing! ✅
Successful run on Sep 23, 2026
virchan commentedon Sep 18, 2026
Build wheel for cp314t-win_arm64- failed, because the
HistGradientBoostingRegressortesttest_X_val_in_fitfailed with:ValueError: concurrent send_bytes() calls are not supportedDetails
================================== FAILURES =================================== __ test_X_val_in_fit[42-False-HistGradientBoostingRegressor-make_regression] __ GradientBoosting = <class 'sklearn.ensemble._hist_gradient_boosting.gradient_boosting.HistGradientBoostingRegressor'> make_X_y = <function make_regression at 0x000004CDEACECE40> sample_weight = None, global_random_seed = 42 @pytest.mark.parametrize( ("GradientBoosting", "make_X_y"), ( (HistGradientBoostingClassifier, make_classification), (HistGradientBoostingRegressor, make_regression), ), ) @pytest.mark.parametrize("sample_weight", [False, True]) def test_X_val_in_fit(GradientBoosting, make_X_y, sample_weight, global_random_seed): """Test that passing X_val, y_val in fit is same as validation fraction.""" rng = np.random.RandomState(42) n_samples = 100 X, y = make_X_y(n_samples=n_samples, random_state=rng) if sample_weight: sample_weight = np.abs(rng.normal(size=n_samples)) data = (X, y, sample_weight) else: sample_weight = None data = (X, y) rng_seed = global_random_seed # Fit with validation fraction and early stopping. m1 = GradientBoosting( early_stopping=True, validation_fraction=0.5, random_state=rng_seed, ) m1.fit(X, y, sample_weight) # Do train-test split ourselves. rng = check_random_state(rng_seed) # We do the same as in the fit method. stratify = y if isinstance(m1, HistGradientBoostingClassifier) else None random_seed = rng.randint(np.iinfo(np.uint32).max, dtype="u8") X_train, X_val, y_train, y_val, *sw = train_test_split( *data, test_size=0.5, stratify=stratify, random_state=random_seed, ) if sample_weight is not None: sample_weight_train = sw[0] sample_weight_val = sw[1] else: sample_weight_train = None sample_weight_val = None m2 = GradientBoosting( early_stopping=True, random_state=rng_seed, ) > m2.fit( X_train, y_train, sample_weight=sample_weight_train, X_val=X_val, y_val=y_val, sample_weight_val=sample_weight_val, ) ..\venv-test\Lib\site-packages\sklearn\ensemble\_hist_gradient_boosting\tests\test_gradient_boosting.py:1507: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ..\venv-test\Lib\site-packages\sklearn\base.py:1403: in wrapper return fit_method(estimator, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ..\venv-test\Lib\site-packages\sklearn\ensemble\_hist_gradient_boosting\gradient_boosting.py:603: in fit X_binned_train = self._bin_data( ..\venv-test\Lib\site-packages\sklearn\ensemble\_hist_gradient_boosting\gradient_boosting.py:1122: in _bin_data X_binned = self._bin_mapper.fit_transform( ..\venv-test\Lib\site-packages\sklearn\utils\_set_output.py:321: in wrapped data_to_wrap = f(self, X, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ..\venv-test\Lib\site-packages\sklearn\base.py:969: in fit_transform return self.fit(X, **fit_params).transform(X) ^^^^^^^^^^^^^^^^^^^^^^^^^ ..\venv-test\Lib\site-packages\sklearn\ensemble\_hist_gradient_boosting\binning.py:289: in fit non_cat_thresholds = Parallel(n_jobs=self.n_threads, backend="threading")( ..\venv-test\Lib\site-packages\sklearn\utils\parallel.py:91: in __call__ return super().__call__(iterable_with_config_and_warning_filters) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ..\venv-test\Lib\site-packages\joblib\parallel.py:2098: in __call__ return output if self.return_generator else list(output) ^^^^^^^^^^^^ ..\venv-test\Lib\site-packages\joblib\parallel.py:1763: in _get_outputs self._terminate_and_reset() ..\venv-test\Lib\site-packages\joblib\parallel.py:1430: in _terminate_and_reset self._backend.terminate() ..\venv-test\Lib\site-packages\joblib\_parallel_backends.py:326: in terminate self._pool.close() ..\..\..\..\pypa\cibuildwheel\Cache\nuget-cpython\pythonarm64-freethreaded.3.14.6\tools\Lib\multiprocessing\pool.py:652: in close self._change_notifier.put(None) ..\..\..\..\pypa\cibuildwheel\Cache\nuget-cpython\pythonarm64-freethreaded.3.14.6\tools\Lib\multiprocessing\queues.py:394: in put self._writer.send_bytes(obj) ..\..\..\..\pypa\cibuildwheel\Cache\nuget-cpython\pythonarm64-freethreaded.3.14.6\tools\Lib\multiprocessing\connection.py:210: in send_bytes self._send_bytes(m[offset:offset + size]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <multiprocessing.connection.PipeConnection object at 0x000004CECA816C90> buf = <memory at 0x000004CDFF1DBA00> def _send_bytes(self, buf): if self._send_ov is not None: # A connection should only be used by a single thread > raise ValueError("concurrent send_bytes() calls " "are not supported") E ValueError: concurrent send_bytes() calls are not supportedSearching for
concurrent send_bytes()in the issue tracker led me to #30810.I re-ran the job, and it is now green: https://github.com/scikit-learn/scikit-learn/actions/runs/35179514326/job/105423468025#logs.