Skip to content

CI Fix tests when matplotlib is not installed - #30971

Merged
glemaitre merged 2 commits into
scikit-learn:mainfrom
lesteve:fix-wheels
Mar 10, 2025
Merged

glemaitre merged 2 commits into
scikit-learn:mainfrom
lesteve:fix-wheels

Conversation

@lesteve

@lesteve lesteve commented Mar 10, 2025 •

Copy link
Copy Markdown
Member

Fix #30953, fix #30961, fix #30960

I am surprised this was not caught by the CI, but apparently all CI builds that run in a PR have matplotlib ...

In other words, the only builds without matplotlib are wheel build (needs [cd build] message), scipy-dev (needs [scipy-dev] message), free-threaded build (needs [free-threaded] message).

@github-actions

Copy link
Copy Markdown

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: e42ffaf. Link to the linter CI: here

@lesteve lesteve changed the title CI Fix wheels build CI Fix tests when matplotlib is not installed Mar 10, 2025
@glemaitre
glemaitre merged commit 54f6046 into scikit-learn:main Mar 10, 2025
@lucyleeow

Copy link
Copy Markdown
Member

I am surprised this was not caught by the CI, but apparently all CI builds that run in a PR have matplotlib ...

Should we add a new workflow to fix this?

@lesteve
lesteve deleted the fix-wheels branch March 11, 2025 14:42
@lesteve

lesteve commented Mar 11, 2025

Copy link
Copy Markdown
Member Author

Should we add a new workflow to fix this?

Maybe try to reuse an existing one, for example pymin_conda_forge_openblas_ubuntu_2204 or pylatest_conda_mkl_no_openmp?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

3 participants