Currently sklearn>=1.6 warns: FutureWarning: 'force_all_finite' was renamed to 'ensure_all_finite' in 1.6 and will be removed in 1.8. The documentation has the requirement `scikit-learn<1.6` which can be removed with the release of `0.11.0`