-
Notifications
You must be signed in to change notification settings - Fork 5
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
Switch from ngff-zarr to ome-zarr-models #80
base: main
Are you sure you want to change the base?
Conversation
4ff121b
to
d2d64e7
Compare
Code changes look good, nice to see that it was a pretty simple change. I am not super familiar with the ome-zarr-models repo yet. Since this code is used by our ome-zarr writer, we want, at least internally, to be ready to deal with sharded zarrv3 some time soon (vague, I know). |
I just found context around the choice of package over here: bioio-devs/bioio-base#25 (comment) |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #80 +/- ##
===========================================
+ Coverage 78.54% 89.09% +10.55%
===========================================
Files 17 21 +4
Lines 974 1531 +557
===========================================
+ Hits 765 1364 +599
+ Misses 209 167 -42 ☔ View full report in Codecov by Sentry. |
Also, RFC authors are encouraged to implement proposed changes directly in
Fully agreed with this goal 🙂 How strong is the need to support Python 3.9 and 3.10 in
I'd suggest that |
The only reason right now that bioio should support 3.9 or 3.10 is to maintain compatibility with pre-exising user codebases that have already adopted bioio. Of course, we can use versioned bioio releases to drop old python compatibility. I would love to advocate for following the scientific-python lifecycle. |
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.
Code changes seem good to me too! Does this drop support for 3.10/3.11 or was that just a side question @imagejan?
Yes, unfortunately, (My motivation for removing ngff-zarr is to simplify deployment of |
As much as I support this PR, I think supporting 3.9 and 3.10 is a requirement to continue to use this within AICS for now. We have to update other computational python code before we can restrict bioio in that way. If this code change removes support for 3.9 and 3.10 then we have to modify pyproject.toml and the unit tests and possibly consider it a major version change, or say it very loudly in release notes.. We will have to decide how best to move forward! |
Is there anything coming down the pipeline for this repo / plugins that AICS internal is looking to use? If there isn't anything that needs upgrading in BioIO for AICS internal usage, I don't necessarily see the problem in allowing this PR to go through (and bumping the minimum supported versions) if there aren't features or bugfixes needed from AICS internally because everyone should be able to continue using the various BioIO versions already in use. That said, if it is a case of waiting for current features and bugfixes to go through before updating min supported versions, here is the list of PRs open in the overarching project: Maybe AICS Internal?
Maybe AICS External?
|
We have one or two major internal computational packages that need updating to 3.11+. Future key work for bioio:
|
d2d64e7
to
ddc49d9
Compare
FWIW, I changed the python support in this PR to I'd be happy with any route towards making |
I guess I could be on board with:
|
With the exception of cyto-dl and current projects that use Even if bioio 2 drops support for Python < 3.11, we could consider backporting some bugfixes to bioio 1.x as necessary, though I know we'd much rather have a single version to maintain. |
After one more round of internal discussions, personally I feel totally comfortable with moving ahead with this and basically following (or keeping up with) the scientific-python roadmap. I'm all in favor of it. I would just like us to be careful about communicating what is the last bioio version before changing the supported python version. |
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, maybe a followup pr for documentation about python version etc before we do a release
Link to Relevant Issue
See bioio-devs/bioio-base#25 (comment), as well as bioio-devs/bioio-ome-zarr#29.
This PR also makes #78 obsolete.
Description of Changes
The
ngff-zarr
dependency is replaced byome-zarr-models
, mapping the same metadata classes of the OME-NGFF spec.