Skip to content
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

Update for zarr_checksum 0.2.12 #1365

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Update for zarr_checksum 0.2.12 #1365

merged 1 commit into from
Nov 27, 2023

Conversation

jwodder
Copy link
Member

@jwodder jwodder commented Nov 27, 2023

  • We can't update to zarr_checksum 0.3.0 yet, as that requires Pydantic v2.

  • As zarr_checksum gained type annotations in Add & declare type-checking zarr_checksum#21, we can remove its override from the mypy config.

  • Since Avoid importing zarr library unless necessary zarr_checksum#17 was merged, it's now safe to import zarr_checksum at the top level of a module.

  • Fixed a typing error caused by importing ZarrChecksumTree from the top level of zarr_checksum despite it not being listed in zarr_checksum.__all__, which triggered a typing failure due to our mypy configuration containing implicit_reexport = False. (This error could only be detected after zarr_checksum started shipping a py.typed file.)

- We can't update to `zarr_checksum` 0.3.0 yet, as that requires Pydantic v2.

- As `zarr_checksum` gained type annotations in dandi/zarr_checksum#21, we can
  remove its override from the mypy config.

- Since dandi/zarr_checksum#17 was merged, it's now safe to import
  `zarr_checksum` at the top level of a module.

- Fixed a typing error caused by importing `ZarrChecksumTree` from the top
  level of `zarr_checksum` despite it not being listed in
  `zarr_checksum.__all__`, which triggered a typing failure due to our mypy
  configuration containing `implicit_reexport = False`.  (This error could only
  be detected after `zarr_checksum` started shipping a `py.typed` file.)
@jwodder jwodder added the dependencies Update one or more dependencies version label Nov 27, 2023
Copy link

codecov bot commented Nov 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0f7ee2a) 88.69% compared to head (c8dfd9e) 88.77%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1365      +/-   ##
==========================================
+ Coverage   88.69%   88.77%   +0.08%     
==========================================
  Files          77       77              
  Lines       10434    10434              
==========================================
+ Hits         9254     9263       +9     
+ Misses       1180     1171       -9     
Flag Coverage Δ
unittests 88.77% <100.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yarikoptic
Copy link
Member

Thank you @jwodder ! as we are many commits after release, let's release while at it.

@yarikoptic yarikoptic added the release Create a release when this pr is merged label Nov 27, 2023
@yarikoptic yarikoptic merged commit 114da47 into master Nov 27, 2023
28 checks passed
@yarikoptic yarikoptic deleted the update-zarr-checksum branch November 27, 2023 14:20
Copy link

🚀 PR was released in 0.58.1 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update one or more dependencies version release Create a release when this pr is merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants