⚠️ CI failed on macos_arm64_wheel ⚠️

**CI is still failing on [macos_arm64_wheel](https://cirrus-ci.com/build/6592550258081792)** (Oct 15, 2023)

COMMENT:
The CI fails for Python 3.11 because of a failing SciPy import. Here is the backtrack:

```bash
+ pytest --pyargs sklearn -n 4
============================= test session starts ==============================
platform darwin -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0
rootdir: /private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/test_cwd
plugins: xdist-3.3.1
created: 4/4 workers
4 workers [29433 items]
!!!!!!!!!!!!!!!!!!!! <ExceptionInfo _DeadlockError("deadlock detected by _ModuleLock('scipy.sparse._base') at 4373307088") tblen=20>
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/xdist/workermanage.py", line 386, in process_from_remote
INTERNALERROR>     warning_message = unserialize_warning_message(
INTERNALERROR>                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/xdist/workermanage.py", line 416, in unserialize_warning_message
INTERNALERROR>     mod = importlib.import_module(data["message_module"])
INTERNALERROR>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/__init__.py", line 126, in import_module
INTERNALERROR>     return _bootstrap._gcd_import(name[level:], package, level)
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
INTERNALERROR>   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/sklearn/__init__.py", line 83, in <module>
INTERNALERROR>     from .base import clone
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/sklearn/base.py", line 19, in <module>
INTERNALERROR>     from .utils import _IS_32BIT
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/sklearn/utils/__init__.py", line 15, in <module>
INTERNALERROR>     from scipy.sparse import issparse
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/scipy/sparse/__init__.py", line 273, in <module>
INTERNALERROR>     from ._base import *
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1173, in _find_and_load
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 171, in __enter__
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 116, in acquire
INTERNALERROR> _frozen_importlib._DeadlockError: deadlock detected by _ModuleLock('scipy.sparse._base') at 4373307088
[gw3] node down: <ExceptionInfo _DeadlockError("deadlock detected by _ModuleLock('scipy.sparse._base') at 4373307088") tblen=20>
F
replacing crashed worker gw3
.INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/_pytest/main.py", line 270, in wrap_session
INTERNALERROR>     session.exitstatus = doit(config, session) or 0
INTERNALERROR>                          ^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/_pytest/main.py", line 324, in _main
INTERNALERROR>     config.hook.pytest_runtestloop(session=session)
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/pluggy/_hooks.py", line 433, in __call__
INTERNALERROR>     return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/pluggy/_manager.py", line 112, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/pluggy/_callers.py", line 155, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/pluggy/_result.py", line 108, in get_result
INTERNALERROR>     raise exc.with_traceback(exc.__traceback__)
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/pluggy/_callers.py", line 80, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>           ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/xdist/dsession.py", line 122, in pytest_runtestloop
INTERNALERROR>     self.loop_once()
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/xdist/dsession.py", line 145, in loop_once
INTERNALERROR>     call(**kwargs)
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/xdist/dsession.py", line 292, in worker_runtest_protocol_complete
INTERNALERROR>     self.sched.mark_test_complete(node, item_index, duration)
INTERNALERROR>   File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-y7u7mjyl/cp311-macosx_arm64/venv-test/lib/python3.11/site-packages/xdist/scheduler/load.py", line 152, in mark_test_complete
INTERNALERROR>     self.node2pending[node].remove(item_index)
INTERNALERROR>     ~~~~~~~~~~~~~~~~~^^^^^^
INTERNALERROR> KeyError: <WorkerController gw3>
```

Labels: Needs Investigation