Repository navigation
CI Update CI lock files [doc build] - #34419
Conversation
| from sklearn.inspection import permutation_importance | ||
| from sklearn.utils.fixes import parse_version | ||
|
|
||
| # `pandas.DataFrame.plot.box` forwards `vert` to matplotlib and derives the box |
There was a problem hiding this comment.
I'm not sure I love this solution, but I can't think of a better way to deal with this :-/
There was a problem hiding this comment.
I think it is a good enough solution for now. It might be dealt with by pandas at some point, or we could at least add a
#TODO: remove once matplotlib 3.10 is our minimum supported version
to get rid of it again in the future?
There was a problem hiding this comment.
I don't know. It would be useful for finding this code as a maintainer but annoying for the reader because it is irrelevant to them. Do you know if we have comments like this in examples elsewhere?
There was a problem hiding this comment.
No, not in the examples, you're right. Then let's leave it as it is.
|
https://github.com/scikit-learn/scikit-learn/actions/runs/28504155772/job/84488505016?pr=34419 makes me think that updating |
|
I looked at the examples that needed adjusting, they look good/same as the versions on |
| from sklearn.inspection import permutation_importance | ||
| from sklearn.utils.fixes import parse_version | ||
|
|
||
| # `pandas.DataFrame.plot.box` forwards `vert` to matplotlib and derives the box |
There was a problem hiding this comment.
I think it is a good enough solution for now. It might be dealt with by pandas at some point, or we could at least add a
#TODO: remove once matplotlib 3.10 is our minimum supported version
to get rid of it again in the future?
|
@ogrisel I think the I think we need at least a new cython release and they just made one. So I think there won't be another one soon . |
|
I think we should temporarily pin to the oldee cython version for which the test passes. |
|
Good idea. Looks like everything passes now. I made the "pin" a list of versions to avoid. The idea is that we will get an update to the next version when it is released. Then we can either also exclude it or start using it, depending on the outcome of the tests. |
|
@ogrisel can you leave a 👍 or 👎 ? |
|
This broke the doc CI because I will happily review a PR that fixes it 😉. |
|
Just curious, why the relatively (?) old matplotlib support? 3.6 is from 2022, and SPEC 0 says we could drop >2 years. |
|
Because SPEC 0 is too aggressive, we support older versions of packages. Loic has a script that helps know which versions we support. I think the "160characters or less" summary of the scikit-learn policy is to support one additional year compared to SPEC0 (you might call it SPEC0+1). I think #30888 is the place to start reading |
Co-authored-by: Lock file bot <[email protected]>
Co-authored-by: Lock file bot <[email protected]>
Reference Issues/PRs
#34409
What does this implement/fix? Explain your changes.
This relocks the lockfiles from the bot's PR to include a newer version of cython (see #34344 (comment))
I will also include the updates to the example gallery that are needed for the newer version of matplotlib.
AI usage disclosure
I used AI assistance for: