-
-
Notifications
You must be signed in to change notification settings - Fork 323
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
test_nested[static_flat] fails on Debian sid Python 3.9 #858
Comments
This matches the failure in conda-forge/zarr-feedstock#56. Having this pinpointed outside of conda-forge is useful. Thanks, @avalentino. |
Agreed thank you! 😄 Does this only happen with Python 3.9? What happens on other Python versions (like 3.8)? |
Activating 3.9 doesn't seem to show the same error. I'll try to reproduce in a Sid docker. |
With the following docker file:
I get:
(and more generally all enabled tests pass). Elided listing of installed libraries:
@avalentino: can you help me modify the Dockerfile such that it will more closely match what you are seeing? I didn't see any patches that should have any effect. |
Under some test conditions (conda-forge, Debian builds), the fixtures directory is not available and is then re-created. When dimension_separator is not passed to DirectoryStore, then no metadata is assigned to the file. For the "flat" (as opposed to "flat_legacy") fixture, this meant that the NestedDirectoryStore did not correct its behavior leading to a failure. see: - conda-forge/zarr-feedstock#56 - zarr-developers#858
Ok. I think I've finally tracked down the cause. My guess is that the |
…lopers#858)" This reverts commit 6f79c56.
…arr-developers#858)"" This reverts commit 568b1cf.
Hi @joshmoore, sorry for the late reply. This have not caused problems in previous versions of zarr but probably this specific test has been added recently. I will try to test your patch ASAP. |
Thanks, @avalentino! |
Hi @joshmoore, I can confirm that the patch in #871 works properly in the debian build environment. By the way, If I remember correctly, the main reason why I removed the |
Awesome. Thanks. I'll get this into a 2.10.3 release as well as the mainline (2.11 pre-release)
You mean that there are modifications to the fixtures folder after the tests are run? If so, no, I don't know why that would be but I can take a look. |
* Pass dimension_separator on fixture generation (fix #858) Under some test conditions (conda-forge, Debian builds), the fixtures directory is not available and is then re-created. When dimension_separator is not passed to DirectoryStore, then no metadata is assigned to the file. For the "flat" (as opposed to "flat_legacy") fixture, this meant that the NestedDirectoryStore did not correct its behavior leading to a failure. see: - conda-forge/zarr-feedstock#56 - #858 * Revert "Pass dimension_separator on fixture generation (fix #858)" This reverts commit 6f79c56. * Add a test for missing fixtures * Revert "Revert "Pass dimension_separator on fixture generation (fix #858)"" This reverts commit 568b1cf.
Thanks Josh! 😀 |
* Pass dimension_separator on fixture generation (fix #858) Under some test conditions (conda-forge, Debian builds), the fixtures directory is not available and is then re-created. When dimension_separator is not passed to DirectoryStore, then no metadata is assigned to the file. For the "flat" (as opposed to "flat_legacy") fixture, this meant that the NestedDirectoryStore did not correct its behavior leading to a failure. see: - conda-forge/zarr-feedstock#56 - zarr-developers/zarr-python#858 * Revert "Pass dimension_separator on fixture generation (fix #858)" This reverts commit 6f79c56a3153f6f1a1d36a1a385b6af636a487d9. * Add a test for missing fixtures * Revert "Revert "Pass dimension_separator on fixture generation (fix #858)"" This reverts commit 568b1cf6175513a8c4916eaa09107e36854f53ad.
Minimal, reproducible code sample, a copy-pastable example if possible
Problem description
The "test_nested[static_flat]" test fails in the current Debian sid with Python 3.9.
Of course one would expect that all automatic tests pass.
Version and installation information
zarr.__version__
2.10.2numcodecs.__version__
0.8.1The text was updated successfully, but these errors were encountered: