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

Exclude bad version of numcodecs & fix bsddb3 doctests #2544

Merged
merged 7 commits into from
Dec 11, 2024

Conversation

dstansby
Copy link
Contributor

@dstansby dstansby commented Dec 8, 2024

See zarr-developers/numcodecs#653 for context. This should make tests run again on the v2 branch.

Also fixes some parts of #2344 that were broken regarding skipping the bsddb3 doctests (I'm not sure why tests didn't run in that PR...)

@dstansby dstansby added the V2 Affects the v2 branch label Dec 8, 2024
Actually exclude bad version of numcodecs

Fix changelog entry
Fix doctest requires

Try bumping version of pytest-doctestplus

Fixup doctest requires
@dstansby dstansby added this to the 2.18.4 milestone Dec 8, 2024
@dstansby dstansby changed the title Exclude bad version of numcodecs Exclude bad version of numcodecs & fix bsddb3 tests Dec 8, 2024
@dstansby dstansby changed the title Exclude bad version of numcodecs & fix bsddb3 tests Exclude bad version of numcodecs & remove bsddb3 doctests Dec 8, 2024
Copy link

codecov bot commented Dec 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.95%. Comparing base (ba1daa3) to head (0c641d6).
Report is 2 commits behind head on support/v2.

Additional details and impacted files
@@              Coverage Diff               @@
##           support/v2    #2544      +/-   ##
==============================================
- Coverage       99.98%   99.95%   -0.03%     
==============================================
  Files              38       38              
  Lines           14718    14664      -54     
==============================================
- Hits            14716    14658      -58     
- Misses              2        6       +4     
Files with missing lines Coverage Δ
zarr/storage.py 99.77% <ø> (-0.23%) ⬇️
zarr/tests/test_core.py 99.94% <ø> (-0.01%) ⬇️
zarr/tests/test_hierarchy.py 100.00% <ø> (ø)
zarr/tests/test_storage.py 100.00% <ø> (ø)
zarr/tests/test_storage_v3.py 100.00% <ø> (ø)

... and 1 file with indirect coverage changes

@dstansby dstansby requested a review from d-v-b December 8, 2024 15:03
@dstansby dstansby changed the title Exclude bad version of numcodecs & remove bsddb3 doctests Exclude bad version of numcodecs & fix bsddb3 doctests Dec 8, 2024
@dstansby
Copy link
Contributor Author

dstansby commented Dec 9, 2024

Sigh, numpy 2.2 is breaking some tests. I've pinned it here, I recommend we merge this and then I can tackle the numpy 2.2. breakages in another PR and un-pin it there.

@d-v-b
Copy link
Contributor

d-v-b commented Dec 11, 2024

can you explain a bit why the bsddb3 tests are removed?

@dstansby
Copy link
Contributor Author

Sorry, originally I dropped support for bsddb3 in #2344 (see changelog entry in that PR) because it wasn't playing nicely with numpy v2, and I didn't think it worth the time to invest in fixing for zarr v2.

In that PR I forgot to delete the tests, so I've done that here.

@d-v-b d-v-b merged commit 8cb3837 into zarr-developers:support/v2 Dec 11, 2024
15 checks passed
@dstansby dstansby deleted the bad-numcodecs-pin branch December 11, 2024 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V2 Affects the v2 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants