Skip to content

🔒 🤖 CI Update lock files for main CI build(s) 🔒 🤖 - #34806

Merged
jeremiedbb merged 2 commits into
scikit-learn:mainfrom
scikit-learn-bot:auto-update-lock-files-main
Aug 25, 2026
Merged

jeremiedbb merged 2 commits into
scikit-learn:mainfrom
scikit-learn-bot:auto-update-lock-files-main

Conversation

@scikit-learn-bot

Copy link
Copy Markdown
Contributor

Update lock files.

The update was generated by running:

python build_tools/update_environments_and_lock_files.py --select-tag main-ci

Note

If the CI tasks fail, create a new branch based on this PR and add the required fixes to that branch.
Prefer re-running the same command above (with the matching --select-tag) rather than updating all lock files.
Remember to include [doc build] in your commit message so that the optional CI build runs.

@lesteve

lesteve commented Aug 24, 2026

Copy link
Copy Markdown
Member

Weird pickling error in one example using callback, this seems similar to the free-threaded error #34804

  Unexpected failing examples (1):
    
        ../examples/callbacks/plot_scoring_monitor.py failed leaving traceback:
    
        Traceback (most recent call last):
          File "/home/circleci/project/examples/callbacks/plot_scoring_monitor.py", line 79, in <module>
            grid_search.set_callbacks(ProgressBar()).fit(X, y)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
          File "/home/circleci/project/sklearn/base.py", line 1403, in wrapper
            return fit_method(estimator, *args, **kwargs)
          File "/home/circleci/project/sklearn/model_selection/_search.py", line 1134, in fit
            self._run_search(evaluate_candidates, callback_ctx=root_callback_ctx)
            ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/home/circleci/project/sklearn/model_selection/_search.py", line 1721, in _run_search
            evaluate_candidates(ParameterGrid(self.param_grid), callback_ctx=search_ctx)
            ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/home/circleci/project/sklearn/model_selection/_search.py", line 1083, in evaluate_candidates
            out = parallel(
                delayed(_fit_and_score)(
            ...<15 lines>...
                ) in zip(candidate_split_pairs, evaluation_contexts)
            )
          File "/home/circleci/project/sklearn/utils/parallel.py", line 91, in __call__
            return super().__call__(iterable_with_config_and_warning_filters)
                   ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/joblib/parallel.py", line 2072, in __call__
            return output if self.return_generator else list(output)
                                                        ~~~~^^^^^^^^
          File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/joblib/parallel.py", line 1682, in _get_outputs
            yield from self._retrieve()
          File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/joblib/parallel.py", line 1784, in _retrieve
            self._raise_error_fast()
            ~~~~~~~~~~~~~~~~~~~~~~^^
          File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/joblib/parallel.py", line 1859, in _raise_error_fast
            error_job.get_result(self.timeout)
            ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
          File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/joblib/parallel.py", line 758, in get_result
            return self._return_or_raise()
                   ~~~~~~~~~~~~~~~~~~~~~^^
          File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/joblib/parallel.py", line 773, in _return_or_raise
            raise self._result
        _pickle.PicklingError: Could not pickle the task to send it to the workers.

@ogrisel

ogrisel commented Aug 25, 2026

Copy link
Copy Markdown
Member

/cc @FrancoisPgm @jeremiedbb.

Any idea to how it's related to a particular dependency update?

@jeremiedbb
jeremiedbb merged commit e4555e6 into scikit-learn:main Aug 25, 2026
30 checks passed
@lesteve

lesteve commented Aug 26, 2026

Copy link
Copy Markdown
Member

@jeremiedbb main is broken on CircleCI see https://app.circleci.com/pipelines/github/scikit-learn/scikit-learn?branch=main

Still similar traceback as before:

        ../examples/callbacks/plot_scoring_monitor.py failed leaving traceback:
    
        Traceback (most recent call last):
          File "/home/circleci/project/examples/callbacks/plot_scoring_monitor.py", line 79, in <module>
            grid_search.set_callbacks(ProgressBar()).fit(X, y)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
          File "/home/circleci/project/sklearn/base.py", line 1403, in wrapper
            return fit_method(estimator, *args, **kwargs)
          File "/home/circleci/project/sklearn/model_selection/_search.py", line 1134, in fit
            self._run_search(evaluate_candidates, callback_ctx=root_callback_ctx)
            ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/home/circleci/project/sklearn/model_selection/_search.py", line 1721, in _run_search
            evaluate_candidates(ParameterGrid(self.param_grid), callback_ctx=search_ctx)
            ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/home/circleci/project/sklearn/model_selection/_search.py", line 1083, in evaluate_candidates
            out = parallel(
                delayed(_fit_and_score)(
            ...<15 lines>...
                ) in zip(candidate_split_pairs, evaluation_contexts)
            )
          File "/home/circleci/project/sklearn/utils/parallel.py", line 91, in __call__
            return super().__call__(iterable_with_config_and_warning_filters)
                   ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/joblib/parallel.py", line 2072, in __call__
            return output if self.return_generator else list(output)
                                                        ~~~~^^^^^^^^
          File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/joblib/parallel.py", line 1682, in _get_outputs
            yield from self._retrieve()
          File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/joblib/parallel.py", line 1784, in _retrieve
            self._raise_error_fast()
            ~~~~~~~~~~~~~~~~~~~~~~^^
          File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/joblib/parallel.py", line 1859, in _raise_error_fast
            error_job.get_result(self.timeout)
            ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
          File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/joblib/parallel.py", line 758, in get_result
            return self._return_or_raise()
                   ~~~~~~~~~~~~~~~~~~~~~^^
          File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/joblib/parallel.py", line 773, in _return_or_raise
            raise self._result
        _pickle.PicklingError: Could not pickle the task to send it to the workers.
    
    -------------------------------------------------------------------------------

Reminder: when fixing an automated PR you need to use the relevant commit marker, in this case [doc build] to trigger a full build. There is a note about this in the PR description (added by Tim).

@jeremiedbb

Copy link
Copy Markdown
Member

I didn't see that it was a different error. I opened #34821 to fix this one.

prady0t pushed a commit to prady0t/scikit-learn that referenced this pull request Sep 2, 2026
@jeremiedbb jeremiedbb mentioned this pull request Sep 8, 2026
14 tasks done
jeremiedbb added a commit to jeremiedbb/scikit-learn that referenced this pull request Sep 8, 2026
jeremiedbb added a commit to jeremiedbb/scikit-learn that referenced this pull request Sep 8, 2026
jeremiedbb added a commit to jeremiedbb/scikit-learn that referenced this pull request Sep 9, 2026
jeremiedbb added a commit to jeremiedbb/scikit-learn that referenced this pull request Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants