Skip to content

Error on warnings when testing #620

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

Merged
merged 6 commits into from
Nov 7, 2024

Conversation

dstansby
Copy link
Contributor

Before #619, it would be good to convert test warnings to errors, so we can make sure there aren't any warnings being raised that we're not expecting.

Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.91%. Comparing base (0bb51de) to head (8aed073).
Report is 50 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #620   +/-   ##
=======================================
  Coverage   99.91%   99.91%           
=======================================
  Files          59       59           
  Lines        2405     2407    +2     
=======================================
+ Hits         2403     2405    +2     
  Misses          2        2           
Files with missing lines Coverage Δ
numcodecs/tests/test_compat.py 100.00% <100.00%> (ø)
numcodecs/tests/test_msgpacks.py 100.00% <100.00%> (ø)

@dstansby dstansby force-pushed the filterwarnings branch 2 times, most recently from 7793e06 to ca35489 Compare November 4, 2024 09:05
@@ -77,7 +77,7 @@ jobs:
shell: "bash -l {0}"
run: |
conda activate env
python -m pip install "zfpy>=1" "numpy<2"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed to avoid zfpy trying to install a very old version of numpy. Instead, by installing the extra, it respects the minimum version of numpy supported by numcodecs.

@dstansby
Copy link
Contributor Author

dstansby commented Nov 5, 2024

pre-commit.ci autofix

@dstansby dstansby marked this pull request as ready for review November 5, 2024 21:58
@dstansby dstansby mentioned this pull request Nov 6, 2024
@dstansby dstansby merged commit 6fb781b into zarr-developers:main Nov 7, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants