-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add testing for Python 3.12 #361
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #361 +/- ##
==========================================
+ Coverage 88.88% 89.14% +0.26%
==========================================
Files 30 30
Lines 1475 1465 -10
==========================================
- Hits 1311 1306 -5
+ Misses 164 159 -5 ☔ View full report in Codecov by Sentry. |
Code-wise this looks good to me, I'm not sure what is happening with the test there failing for one of the splits though. |
I have to restrict snakemake to <8.0 in the code (at least I'm pretty sure that's the problem...) |
Also, never added 3.12 to the test matrix! |
Ahh, thought you did - saw the 3.12 in the strategy matrix there. I assumed the check wasn't testing 3.12 because it was pulling the workflow from |
94778c1
to
3eb3156
Compare
Cap snakemake below 8.0 until we can build compatibility
pdm cannot resolve different dependency versions for different python versions, and there is no numpy version that can be simultaneously resolved both to python 3.8 and python 3.12. So the only way to use support pdm would be to raise the lower limit of our template app, or have special pdm support. Users can still use pdm if they wish, but they'll have to work out the consequences themselves. pdm is removed from printed instructions and testing
9954f06
to
39894cc
Compare
Had to drop testing of |
@@ -65,7 +65,7 @@ bids_version: | |||
when: false | |||
|
|||
python_version: | |||
default: ">=3.8,<3.12" | |||
default: ">=3.8,<3.13" |
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.
This needs to be set to the range as currently set on pypi. Next release we'll need to remember to update this to >=3.8,<4.0
Also caps snakemake below 8.0 until we can build compatibility (major breaking api changes in that release)
A small fix in the comparison logic in
ImmutableList