chore: Bump BMZ dependency to 0.9.0#508
Merged
Merged
Conversation
veegalinova
approved these changes
Jul 3, 2025
tmuird
pushed a commit
to tmuird/careamics
that referenced
this pull request
Jan 3, 2026
## Description <!-- This section provides the necessary background and information for reviewers to understand the code and have the correct mindset when examining changes. --> > [!NOTE] > **tldr**: Depend on BMZ latest version ### Background - why do we need this PR? <!-- What problem are you solving? Describe in a few sentences the state before this PR. Use code examples if useful. --> Currently, we fixed `xarray` dependency bc of the BMZ, and we depend on an old BMZ version. This allows us to depend on the latest version (`0.8.0` was incompatible bc of bioimageio.specs lagging dependency on Pydantic). ### Overview - what changed? <!-- What aspects and mechanisms of the code base changed? Describe only the general idea and overarching features. --> Dependency on BMZ. ### Implementation - how did you implement the changes? <!-- How did you solve the issue technically? Explain why you chose this approach and provide code examples if applicable (e.g. change in the API for users). --> Update `pyproject.toml` and some BMZ API calls. ## Changes Made <!-- This section highlights the important features and files that reviewers should pay attention to when reviewing. Only list important features or files, this is useful for reviewers to correctly assess how deeply the modifications impact the code base. For instance: ### New features or files - `NewClass` added to `new_file.py` - `new_function` added to `existing_file.py` ... --> ### Modified features or files <!-- List important modified features or files. --> - `pyproject.toml` - `model_description.py` ## How has this been tested? <!-- Describe the tests that you ran to verify your changes. This can be a short description of the tests added to the PR or code snippet to reproduce the change in behaviour. --> CI and local. ## Related Issues <!-- Link to any related issues or discussions. Use keywords like "Fixes", "Resolves", or "Closes" to link to issues automatically. --> CAREamics#495 (comment) Thanks @mese79 !!! --- **Please ensure your PR meets the following requirements:** - [x] Code builds and passes tests locally, including doctests - [ ] New tests have been added (for bug fixes/features) - [x] Pre-commit passes - [ ] PR to the documentation exists (for bug fixes / features) --------- Co-authored-by: Mehdi Seifi <mehdiseifi@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Note
tldr: Depend on BMZ latest version
Background - why do we need this PR?
Currently, we fixed
xarraydependency bc of the BMZ, and we depend on an old BMZ version. This allows us to depend on the latest version (0.8.0was incompatible bc of bioimageio.specs lagging dependency on Pydantic).Overview - what changed?
Dependency on BMZ.
Implementation - how did you implement the changes?
Update
pyproject.tomland some BMZ API calls.Changes Made
Modified features or files
pyproject.tomlmodel_description.pyHow has this been tested?
CI and local.
Related Issues
#495 (comment)
Thanks @mese79 !!!
Please ensure your PR meets the following requirements: