-
Notifications
You must be signed in to change notification settings - Fork 92
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
minimum nilearn to 0.10.3 #1094
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1094 +/- ##
=======================================
Coverage 89.91% 89.91%
=======================================
Files 26 26
Lines 3621 3621
Branches 629 629
=======================================
Hits 3256 3256
Misses 214 214
Partials 151 151 ☔ View full report in Codecov by Sentry. |
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. We could probably just add an exception for the problematic version, but I'm fine with doing it this way too.
On a related note, I think we should add a job to test using the oldest-supported versions.
nilearn/nilearn#3084 Makes it sound like
Is there a way to add this into the python 3.8 unit tests? That is, have CI run once with all minimally accepted versions. FWIW I'm not sure how much this matters, but nilearn requires |
I just checked and |
@pmolfese notified me of a crash when he ran tedana with nilearn v0.10.2:
In
static_figures.py
we are callingnilearn.plotting.plot_stat_map
with thevmin
option. Going through the nilearn releases, this was only added in v0.10.3 ( nilearn/nilearn#3993 ). I really don't like setting our minimum nilearn version to something that was only released in January 2024. I'd welcome to code changes that address this issue and retain slightly older compatibility, but I'm not sure if there's a way to get the images we want to include in the reports using older versions.Given this will cause crashes, it would be nice to get a solution merged before releasing our v24.0.1.
Changes proposed in this pull request: