### Bug Report Recently, scikit-learn has been hanging when docs are being build during [gallery generation on circleci](https://app.circleci.com/jobs/github/scikit-learn/scikit-learn/96066). This can be fixed if `memory_profiler` is removed as shown here: https://github.com/scikit-learn/scikit-learn/pull/16629