Skip to content

Document how to migrate away from init_group in v3 #2720

Closed

Description

@dstansby

I'm trying to upgrade to v3, and getting
E ImportError: cannot import name 'init_group' from 'zarr.storage'

This isn't mentioned on the migration guide - would be great to add something about why init_group was removed, and what the alternative is.

Activity

  1. jhamman commented on Jan 21, 2025

    @jhamman
    Member

    One might ask why init_group was in zarr.storage but alas, I suppose it just was 🤷 .

    I suspect we would have heard from folks if they were using this but if needed, we could reimplement it in the top level API. Or, as you say, we could document its removal in the migration guide.

  2. added
    help wantedIssue could use help from someone with familiarity on the topic
    on Jan 21, 2025
  3. added a commit that references this issue on Mar 30, 2026
    9667ce3
  4. added a commit that references this issue on Mar 31, 2026
    0081fef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements to the documentationhelp wantedIssue could use help from someone with familiarity on the topic

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions