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

Update zarr requirement from <3.0.0a,>=2.12.0 to >=2.12.0,<4.0.0 in the pip-dependencies group #936

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 2025

Updates the requirements on zarr to permit the latest version.
Updates zarr to 3.0.2

Release notes

Sourced from zarr's releases.

v3.0.2

What's Changed

New Contributors

Full Changelog: zarr-developers/zarr-python@v3.0.1...v3.0.2

Changelog

Sourced from zarr's changelog.

3.0.2 (2025-01-31)

Features


- Test ``getsize()`` and ``getsize_prefix()`` in ``StoreTests``. (:issue:`2693`)
- Test that a ``ValueError`` is raised for invalid byte range syntax in ``StoreTests``. (:issue:`2693`)
- Separate instantiating and opening a store in ``StoreTests``. (:issue:`2693`)
- Add a test for using Stores as a context managers in ``StoreTests``. (:issue:`2693`)
- Implemented ``LogingStore.open()``. (:issue:`2693`)
- ``LoggingStore`` is now a generic class. (:issue:`2693`)
- Change StoreTest's ``test_store_repr``, ``test_store_supports_writes``,
  ``test_store_supports_partial_writes``, and ``test_store_supports_listing``
  to to be implemented using ``@abstractmethod``, rather raising ``NotImplementedError``. (:issue:`2693`)
- Test the error raised for invalid buffer arguments in ``StoreTests``. (:issue:`2693`)
- Test that data can be written to a store that's not yet open using the store.set method in ``StoreTests``. (:issue:`2693`)
- Adds a new function ``init_array`` for initializing an array in storage, and refactors ``create_array``
  to use ``init_array``. ``create_array`` takes two new parameters: ``data``, an optional array-like object, and ``write_data``, a bool which defaults to ``True``.
  If ``data`` is given to ``create_array``, then the ``dtype`` and ``shape`` attributes of ``data`` are used to define the
  corresponding attributes of the resulting Zarr array. Additionally, if ``data`` given and ``write_data`` is ``True``,
  then the values in ``data`` will be written to the newly created array. (:issue:`2761`)

Bugfixes

  • Wrap sync fsspec filesystems with AsyncFileSystemWrapper. (:issue:2533)
  • Added backwards compatibility for Zarr format 2 structured arrays. (:issue:2681)
  • Update equality for LoggingStore and WrapperStore such that 'other' must also be a LoggingStore or WrapperStore respectively, rather than only checking the types of the stores they wrap. (:issue:2693)
  • Ensure that ZipStore is open before getting or setting any values. (:issue:2693)
  • Use stdout rather than stderr as the default stream for LoggingStore. (:issue:2693)
  • Match the errors raised by read only stores in StoreTests. (:issue:2693)
  • Fixed ZipStore to make sure the correct attributes are saved when instances are pickled. This fixes a previous bug that prevent using ZipStore with a ProcessPoolExecutor. (:issue:2762)
  • Updated the optional test dependencies to include botocore and fsspec. (:issue:2768)
  • Fixed the fsspec tests to skip if botocore is not installed. Previously they would have failed with an import error. (:issue:2768)
  • Optimize full chunk writes. (:issue:2782)

Improved Documentation


- Changed the machinery for creating changelog entries.
  Now individual entries should be added as files to the `changes` directory in the `zarr-python` repository, instead of directly to the changelog file. (:issue:`2736`)

Other


&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>

<ul>
<li><a href="https://github.com/zarr-developers/zarr-python/commit/cab29d21dd7ef88a2ccaab0749faa59db345c86e&quot;&gt;&lt;code&gt;cab29d2&lt;/code&gt;&lt;/a> prepare changelog for 3.0.2 release (<a href="https://redirect.github.com/zarr-developers/zarr-python/issues/2783&quot;&gt;#2783&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/zarr-developers/zarr-python/commit/15d92601d23458bc0fc278c17a90e1e18de09e5a&quot;&gt;&lt;code&gt;15d9260&lt;/code&gt;&lt;/a> Optimize is_total_slice for chunksize == 1 (<a href="https://redirect.github.com/zarr-developers/zarr-python/issues/2782&quot;&gt;#2782&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/zarr-developers/zarr-python/commit/fc08f31a0b4210c9d9b2071373c5ea7d55b66287&quot;&gt;&lt;code&gt;fc08f31&lt;/code&gt;&lt;/a> add init_array, and data kwarg for create_array (<a href="https://redirect.github.com/zarr-developers/zarr-python/issues/2761&quot;&gt;#2761&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/zarr-developers/zarr-python/commit/e602aa1d19f26bb06669994231e524c55bcecbeb&quot;&gt;&lt;code&gt;e602aa1&lt;/code&gt;&lt;/a> Use ChunkKeyEncodingLike type alias (<a href="https://redirect.github.com/zarr-developers/zarr-python/issues/2763&quot;&gt;#2763&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/zarr-developers/zarr-python/commit/0c895d18aa69b1d90866f2249e93986022ddc5e7&quot;&gt;&lt;code&gt;0c895d1&lt;/code&gt;&lt;/a> Some release note improvements (<a href="https://redirect.github.com/zarr-developers/zarr-python/issues/2775&quot;&gt;#2775&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/zarr-developers/zarr-python/commit/b5016c020ad5e2691b025506e490ad3abb0fa7c5&quot;&gt;&lt;code&gt;b5016c0&lt;/code&gt;&lt;/a> Make botocore an optional test dependency (<a href="https://redirect.github.com/zarr-developers/zarr-python/issues/2768&quot;&gt;#2768&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/zarr-developers/zarr-python/commit/fb37ff0942c7417a7767cc4d537de7173a9b3329&quot;&gt;&lt;code&gt;fb37ff0&lt;/code&gt;&lt;/a> Upload coverage after GPU tests (<a href="https://redirect.github.com/zarr-developers/zarr-python/issues/2767&quot;&gt;#2767&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/zarr-developers/zarr-python/commit/458299857141a5470ba3956d8a1607f52ac33857&quot;&gt;&lt;code&gt;4582998&lt;/code&gt;&lt;/a> Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 in the actions group (...</li>
<li><a href="https://github.com/zarr-developers/zarr-python/commit/80aea2ae5af416de15d1e4b95c50f214ee0151e4&quot;&gt;&lt;code&gt;80aea2a&lt;/code&gt;&lt;/a> Improve test coverage for storage classes (<a href="https://redirect.github.com/zarr-developers/zarr-python/issues/2693&quot;&gt;#2693&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/zarr-developers/zarr-python/commit/9fd45451a9b4b0112b7dd9c180be5977d18570ac&quot;&gt;&lt;code&gt;9fd4545&lt;/code&gt;&lt;/a> Fix pickling of ZipStore (<a href="https://redirect.github.com/zarr-developers/zarr-python/issues/2762&quot;&gt;#2762&lt;/a&gt;)&lt;/li>
<li>Additional commits viewable in <a href="https://github.com/zarr-developers/zarr-python/compare/v2.12.0...v3.0.2&quot;&gt;compare view</a></li>
</ul>
</details>

<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

📚 Documentation preview 📚: https://earthaccess--936.org.readthedocs.build/en/936/

Updates the requirements on [zarr](https://github.com/zarr-developers/zarr-python) to permit the latest version.

Updates `zarr` to 3.0.2
- [Release notes](https://github.com/zarr-developers/zarr-python/releases)
- [Changelog](https://github.com/zarr-developers/zarr-python/blob/main/docs/release-notes.rst)
- [Commits](zarr-developers/zarr-python@v2.12.0...v3.0.2)

---
updated-dependencies:
- dependency-name: zarr
  dependency-type: direct:production
  dependency-group: pip-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added impact: dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 1, 2025
Copy link

github-actions bot commented Feb 1, 2025

Binder 👈 Launch a binder notebook on this branch for commit 1736bb8

I will automatically update this comment whenever this PR is modified

@mfisher87
Copy link
Collaborator

Why do we upper-bound Zarr? Is it recommended by the library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact: dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant