Skip to content
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

Python tests 2: Streaming boogaloo #12

Merged
merged 38 commits into from
Oct 29, 2024
Merged

Python tests 2: Streaming boogaloo #12

merged 38 commits into from
Oct 29, 2024

Conversation

aliddell
Copy link
Member

@aliddell aliddell commented Oct 10, 2024

  • CI changes
  • Adds testing dependencies
  • Fix bug wherein metadata was not being set properly in the ZarrStream
  • Add missing close quotes in PyZarrStreamSettings::__repr__ definition
  • Add some tests for Zarr streaming

@aliddell aliddell changed the base branch from main to python-tests October 10, 2024 18:00
@aliddell aliddell changed the base branch from python-tests to main October 11, 2024 16:24
@aliddell aliddell changed the base branch from main to python-tests October 11, 2024 16:31
Base automatically changed from python-tests to main October 14, 2024 12:46
@aliddell aliddell requested a review from jeskesen October 25, 2024 14:31
@aliddell aliddell marked this pull request as ready for review October 25, 2024 14:31
pyproject.toml Outdated
]

[tool.black]
target-version = ['py39', 'py310', 'py311']
Copy link
Contributor

Choose a reason for hiding this comment

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

I just want to point out that Ubuntu 24.04 uses v3.12. It isn't critical for me, as I'm using C++, but wanted you to know in case there was a user-base that was interested.

),
],
)
@pytest.mark.skip(reason="Temporary; needs debugging")
Copy link
Contributor

Choose a reason for hiding this comment

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

I just want to confirm that we're skipping this test (and thus it will not be reviewed)?

@@ -882,7 +881,8 @@ ZarrStream_s::write_multiscale_frames_(const std::byte* data,
return;
}

std::function<std::byte*(const std::byte*, size_t&, size_t&, size_t&)> scale;
std::function<std::byte*(const std::byte*, size_t&, size_t&, size_t&)>
scale;
Copy link
Contributor

Choose a reason for hiding this comment

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

trivial: this seems less readable than what it was before.

Copy link
Member Author

Choose a reason for hiding this comment

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

Artifact of automatically formatting on save, I guess.

@aliddell aliddell merged commit 9c46763 into main Oct 29, 2024
7 checks passed
@aliddell aliddell deleted the python-tests-2 branch October 29, 2024 14:37
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