`astro dev restart` gets stuck in step "Airflow is starting up! This might take a few minutes…" due to scikit-learn

I’m trying to define scikit-learn as a dependency for an Astro project in the requirements.txt file, but the Astro CLI got stuck in Airflow is starting up! This might take a few minutes…. This kept that state for more than 2 hours. If I remove the scikit-learn from requirements, the instance works as expected.

How to reproduce the error

Environment (Dockerfile):

FROM quay.io/astronomer/astro-runtime:5.0.6

ENV GOOGLE_APPLICATION_CREDENTIALS="/dummy_path/"

requirements.txt:

google-cloud-storage
scikit-learn
airflow-provider-great-expectations==0.1.3
great-expectations==0.15.17
pandas
fsspec
gcsfs