hdmf-dev / hdmf-zarr

Zarr I/O backend for HDMF
https://hdmf-zarr.readthedocs.io/
Other
7 stars 7 forks source link

Update to support python 3.12 #172

Closed mavaylon1 closed 4 months ago

mavaylon1 commented 4 months ago

Motivation

What was the reasoning behind this change? Please explain the changes briefly. Support python 3.12

How to test the behavior?

Show how to reproduce the new behavior (can be a bug fix or a new feature)

Checklist

codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.04%. Comparing base (556ed12) to head (bda8bf3).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #172 +/- ## ======================================= Coverage 86.04% 86.04% ======================================= Files 5 5 Lines 1161 1161 Branches 296 288 -8 ======================================= Hits 999 999 Misses 107 107 Partials 55 55 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mavaylon1 commented 4 months ago

Note: After updating the .toml, tox, and workflows, I did a search for "3.11". I'll do another look to see what else needs to be bumped to 3.12

mavaylon1 commented 4 months ago

@oruebel The bump to 3.12 seems to have bequeathed some gallery errors that need to be resolved. I'd like to make it a separate ticket/PR to not hold this up. Thoughts? I need to do another pass through before requesting a review.

Update: I just ended up fixing it here. A new warning filter for test_gallery.py

mavaylon1 commented 4 months ago

Review Note: I did not update the changelog since this is not a user facing update.

rly commented 4 months ago

Review Note: I did not update the changelog since this is not a user facing update.

Please add a changelog -- The changelog is for any change to the software, and is for both users and developers, especially to check for changes that affect compatibility (here, for example, we announce that PyNWB is officially compatible with Python 3.12 - some downstream packages do not support Python 3.12 because pynwb does not so it's important for us to announce this).

In contrast, when making changes to the schema repo, the schema release notes should not be updated when there are no changes to the schema files. We could add a changelog there for all changes to the repo, but its not really necessary because the main purpose of the schema repo is to hold the schema files. The surrounding code is for internal use.

rly commented 4 months ago

I mean HDMF-Zarr, not PyNWB, though my example about downstream packages not supporting a version of Python because PyNWB does not officially support is is true for PyNWB, not HDMF-Zarr (AFAIK)

mavaylon1 commented 4 months ago

I mean HDMF-Zarr, not PyNWB, though my example about downstream packages not supporting a version of Python because PyNWB does not officially support is is true for PyNWB, not HDMF-Zarr (AFAIK)

Got it. Done.