-
-
Notifications
You must be signed in to change notification settings - Fork 356
remove usage of the _deprecate_positional_args decorator, and tests for its behavior #3225
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3225 +/- ##
==========================================
- Coverage 94.76% 94.61% -0.15%
==========================================
Files 78 78
Lines 8672 8643 -29
==========================================
- Hits 8218 8178 -40
- Misses 454 465 +11
🚀 New features to boost your workflow:
|
there's a reduction in coverage, but the previously covered lines of code were not actually being tested for correctness -- they were just being run to check the behavior of the positional args decorator. So I think we can disregard the coverage reduction here. |
this failure is due to recent changes to our hypothesis tests, presumably revealing a real bug, but likely one unrelated to this PR (cc @dcherian) |
This breaks the hypothesis tests and pre-commit... |
pre-commit is failing, and hypothesis is also reporting a failed test, but not because of this PR |
There were pre-existing pre-commit errors before this PR, but this introduced more. And I'm pretty sure this broke the hypothesis tests? They were working before this PR was merged: https://github.com/zarr-developers/zarr-python/actions/runs/16271528357/job/45940137517 |
compare the changes in this PR (removing a decorator that only raised a warning, and some tests for that decorator) with the pre-commit errors (type-checking failures in obstore and hypothesis tests). I don't see how they are related other than by timing. We should just fix the pre-commit errors (by correcting type hints as needed). As for the hypothesis test failure, I don't see how that could be related to the changes in this PR since it pertains to deleting groups from a local file system-backed store. we should of course also fix this. but it seems very unlikely to be caused by the changes in this PR. |
If I run pre-commit on the |
Good detective work! Do you want to work on fixing the mypy problems? And @dcherian do you have any idea what's causing the hypothesis test failures? |
* complete partial release note * build release notes * add release note for #3225 * clarify keyword only changes
TODO:
docs/user-guide/*.rst
changes/