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

remove outdated v2 source code and tests from v3 branch #2182

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

jhamman
Copy link
Member

@jhamman jhamman commented Sep 13, 2024

This PR removes the zarr.v2 namespace from the v3 branch. I'm moving forward with this based on discussions in #1849 and in the weekly developer meeting. I know there are remain varying views on the best way to minimize disruption for existing users of zarr 2.x so I'll leave this up for at least a week to give folks a chance to consider the consequences of this PR.

closes #1849

cc @zarr-developers/python-core-devs

TODO:

  • Add unit tests and/or doctests in docstrings
  • Add docstrings and API docs for any new/modified user-facing classes and functions
  • New/modified features documented in docs/tutorial.rst
  • Changes documented in docs/release.rst
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

@jhamman jhamman requested review from d-v-b, normanrz, zarrdevelopers and a team and removed request for normanrz, d-v-b and zarrdevelopers September 13, 2024 21:33
@@ -255,90 +238,6 @@ async def test_delete_empty_chunks(store: Store) -> None:
assert await store.get(f"{path}/c0/0", prototype=default_buffer_prototype()) is None


@pytest.mark.parametrize("store", ("local", "memory"), indirect=["store"])
async def test_zarr_compat(store: Store) -> None:
Copy link
Member Author

Choose a reason for hiding this comment

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

drawing attention to this change which we added to develop confidence that we were doing backward compatible things.

We may consider replacing this with a new CI workflow / test suite that generates data w/ 2.18 and consumes it with the v3 branch.

Copy link
Contributor

Choose a reason for hiding this comment

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

Is it worth opening an issue to keep track of replacing this?

Copy link
Member Author

Choose a reason for hiding this comment

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

@jhamman jhamman added the V3 label Sep 13, 2024
@jhamman jhamman added this to the 3.0.0 milestone Sep 13, 2024
Copy link
Member

@normanrz normanrz left a comment

Choose a reason for hiding this comment

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

Removing this is a major milestone in our prep for the v3 release. I think it is important to remove it to reduce confusion and to let the community help us identify compatibility issues that we still need to address.
Thanks @jhamman!

@d-v-b
Copy link
Contributor

d-v-b commented Sep 14, 2024

looks great, thanks joe! 🚀

Copy link
Contributor

@rabernat rabernat left a comment

Choose a reason for hiding this comment

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

Onward and upward! 🚀

@jni jni mentioned this pull request Sep 16, 2024
@jhamman jhamman merged commit 30e2bc3 into zarr-developers:v3 Sep 24, 2024
27 checks passed
@jhamman jhamman deleted the chore/remove-v2 branch September 24, 2024 15:14
dcherian added a commit to dcherian/zarr-python that referenced this pull request Sep 27, 2024
* v3:
  remove outdated v2 source code and tests from v3 branch (zarr-developers#2182)
  Fix/empty listdir (zarr-developers#2225)
  Bump pypa/gh-action-pypi-publish in the actions group (zarr-developers#2219)
  Added Attributes.asdict (zarr-developers#2221)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[v3] remove old v2 code entirely
5 participants