Skip to content

Pass dimension_separator on fixture generation (fix #858) #871

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 4 commits into from
Nov 19, 2021

Conversation

joshmoore
Copy link
Member

@joshmoore joshmoore commented Nov 16, 2021

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:

TODO:

  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

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#858
@joshmoore
Copy link
Member Author

Failure in b95d4aa shows what's been happening on conda-forge and debian builds.

@codecov
Copy link

codecov bot commented Nov 16, 2021

Codecov Report

Merging #871 (df514df) into master (72bd47a) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #871   +/-   ##
=======================================
  Coverage   99.94%   99.94%           
=======================================
  Files          32       32           
  Lines       11202    11203    +1     
=======================================
+ Hits        11196    11197    +1     
  Misses          6        6           
Impacted Files Coverage Δ
zarr/tests/test_dim_separator.py 100.00% <100.00%> (ø)

@joshmoore joshmoore merged commit 369f502 into zarr-developers:master Nov 19, 2021
@joshmoore joshmoore deleted the fix-858 branch November 19, 2021 08:06
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.

test_nested[static_flat] fails on Debian sid Python 3.9
1 participant