Repository navigation
MAINT bumpversion Python and dependencies - #27910
Conversation
|
Given that numpy and scipy dropped support for python 3.8, I think it's fine to do it as well. We still support 3 versions of Python. Tests are failing btw, something wrong with the min deps |
I forgot to bump SciPy in the |
thomasjpfan
left a comment
There was a problem hiding this comment.
With the minimum Python version as 3.9, we can remove the oldest-supported-numpy line:
Lines 8 to 12 in c913853
Otherwise LGTM
|
This is weird. For the second time, the build for the default channel is failing and I see that the job that is having a timeout has some failure before to timeout. I would think that we need to investigate the reason to see if we reproduce locally. Maybe NumPy or SciPy version of the default channel is yanked. |
|
Could you re-run the failing CI job with We might want to add |
|
I don't think we should block anything for conda default channel though. We've had issues not related to us in the past. |
I don't think this is a big deal here. This is just that we need to set the right version of scipy and numpy. I am actually wondering why we use the minimum when it comes to the defaults channel Edit: actually we have one such build: pylatest_conda_mkl_no_openmp |
|
Uhm it seems that the issue was only transient. |
ogrisel
left a comment
There was a problem hiding this comment.
LGTM besides the following nitpick. Fixing the nitpick is an opportunity to rerun the build to check that the previous failure was indeed transient prior to merging.
|
Please also rerun with |
Looks like it has come back: https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=61583&view=logs&j=66042141-7fd2-581d-812e-1a1b1d5e0f0c&t=3bc9bdaf-ce35-5f52-15e7-faffb90cfcaf |
OK I will push-back with the |
|
Youpi!!!!: ValueError: On entry to DLASCL parameter number 4 had an illegal valueI am betting on upgrading to SciPy 1.6.2 as it will be useful to #27943. |
|
|
||
| "scipy>=1.5.0", | ||
| "numpy>=1.25", | ||
| "scipy>=1.6.0", |
|
So I bumped to 1.7 SciPy on the |
|
Merging this one since we have 3 approvals and the CI is passing. |
|
FYI, quickly looking at it, it seems like scipy 1.6 is the first release that officially supports Python 3.9 |
|
I set 1.6.0 because this is the version in debian 32-bits with python 3.9 |
|
Now that scikit-learn 1.5 is released, it might be worth considering dropping Python 3.9 (and thus requiring Python 3.10+) towards the development of scikit-learn 1.6. This would follow SPEC 0, which recommends dropping Python 3.9 in late 2023. |
|
As far I recall, we had an internal vote regarding endorsing the SLEP0. We should probably close the vote and check if we endorse it or not. In case of not endorsing it, I recall that we mentioned that we would write how we would bump version to avoid this type of recurrent discussion. |
@glemaitre was there any update on this? I am trying to integrate array-api-extra in gh-30340 which requires Python>=3.10 as per https://scientific-python.org/specs/spec-0000/, but there are failures due to sklearn still supporting Python 3.9. |
|
At the end, we decided to not endorse the SLEP000. We apply a more conservative policy and in general people were not keen into endorsing a recommendation that we don't follow in the project. Regarding the specific here, we might consider dropping support for Python 3.9 before the release of 1.7 since we already support 5 versions currently. The fact that the |
|
Okay, thanks. A big +1 from me if you could consider dropping 3.9 soon! |
Towards the release of scikit-learn 1.4.
Bumping the version of some libraries:
This would be required by #25275 to have Python 3.9 as minimum and thus newer version. I found that pandas could be bump in this PR: #26120
The bump are really minimum.