-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
MNT Bump joblib version dependency to 1.0.0 #22365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MNT Bump joblib version dependency to 1.0.0 #22365
Conversation
memory = check_memory(None) | ||
assert memory.cachedir is None | ||
if joblib_before_0_12: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be a good time to upgrade minimal required joblib, particularly if we are not testing it? Currently, it's 0.11 released in 2017 which is a long time ago.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We only test the minimum version of joblib in the ubuntu_altas job and coverage is turned off there.
I'm okay with bumping up the version. Do we go straight to joblib 1.1
or go to 0.12.5
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure. There were some known issues in the first few releases when joblib included loki around 0.12, maybe we can just go with 1.0 directly (late 2020)?
@ogrisel any opinion on this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think 1.0 is fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated PR to bump joblib dependency to 1.0.0, which also lead to deleting a bunch of code.
memory = check_memory("cache_directory") | ||
assert memory.cachedir == os.path.join("cache_directory", "joblib") | ||
if joblib_before_0_12: | ||
assert memory.cachedir == os.path.join("cache_directory", "joblib") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We only test the minimum version of joblib in the ubuntu_altas
job and coverage is turned off there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @thomasjpfan!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice !
This is really nice |
Is there any chocolate involved? :) |
sklearn requires 1.0 or above scikit-learn/scikit-learn#22365
sklearn requires 1.0 or above scikit-learn/scikit-learn#22365
sklearn requires 1.0 or above scikit-learn/scikit-learn#22365
Reference Issues/PRs
Fixes #22364
What does this implement/fix? Explain your changes.
cachedir
was removed in joblib/joblib#1236 so we can not directly test it intest_check_memory
.