Skip to content

Clean up warning filters in tests #2714

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 21 commits into from
Apr 9, 2025

Conversation

dstansby
Copy link
Contributor

@dstansby dstansby commented Jan 15, 2025

I'm hoping to clean up the warning filters in this PR, starting with making them all error, and then either fix the warnings that come up or add them back to the filters. Opening because I noticed some deprecation warnings in our tests that should probably either be explicitly caught or the code fixed.

Fixes #2968

@dstansby dstansby force-pushed the catch-warnings branch 8 times, most recently from 596d674 to d157e9c Compare January 22, 2025 11:40
@github-actions github-actions bot added the needs release notes Automatically applied to PRs which haven't added release notes label Jan 30, 2025
@dstansby dstansby force-pushed the catch-warnings branch 2 times, most recently from d6d8c91 to 2b91d6e Compare January 30, 2025 10:15
@github-actions github-actions bot removed the needs release notes Automatically applied to PRs which haven't added release notes label Feb 18, 2025
@dstansby dstansby marked this pull request as ready for review April 3, 2025 21:35
@dstansby
Copy link
Contributor Author

dstansby commented Apr 7, 2025

Would be good to get this in ASAP to avoid more warnings in the tests!

Copy link
Contributor

@d-v-b d-v-b left a comment

Choose a reason for hiding this comment

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

thanks for this @dstansby!

@dstansby dstansby merged commit 50abf3d into zarr-developers:main Apr 9, 2025
30 checks passed
d-v-b pushed a commit to d-v-b/zarr-python that referenced this pull request Apr 20, 2025
* Clean up warning filters in tests

* Ignore some more warnings

* Ignore some more warnings

* Ignore boto3 deprecation warning

* Ignore  unclosed client warning

* Filter another fsspec warning

* Ignore zip warning

* Filter warning in test_stateful

* pre-commit fixes

* Filter warning in test_wrapper

* Filter warning in memorystore

* Close pool in multiprocessing test

* pre-commit fixes

* Filter two more warnings

* Filter another warning

* Filter more warnings

* Add changelog

* Ignore unclosed client sessions

* Put back dtype filter

* Make client session filter better
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.

Convert warnings on CI to errors
2 participants