rustytree-xarray 0.5.0__tar.gz → 0.5.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/.github/dependabot.yml +1 -1
  2. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/.github/workflows/ci.yml +6 -6
  3. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/CHANGELOG.md +65 -1
  4. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/Cargo.lock +151 -250
  5. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/Cargo.toml +5 -5
  6. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/PKG-INFO +2 -2
  7. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/docs/architecture.md +3 -3
  8. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/docs/usage.md +1 -1
  9. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/pyproject.toml +5 -5
  10. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/python/rustytree/__init__.py +1 -1
  11. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/src/icechunk_store.rs +43 -9
  12. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/src/py_credentials.rs +1 -1
  13. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/tests/test_phase1_scaffold.py +1 -1
  14. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/.github/workflows/release.yml +0 -0
  15. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/.gitignore +0 -0
  16. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/LICENSE +0 -0
  17. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/README.md +0 -0
  18. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/assets/logo-banner-dark.png +0 -0
  19. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/assets/logo-banner-dark.svg +0 -0
  20. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/assets/logo-banner-light.png +0 -0
  21. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/assets/logo-banner-light.svg +0 -0
  22. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/assets/logo.png +0 -0
  23. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/docs/contributing.md +0 -0
  24. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/docs/release-process.md +0 -0
  25. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/notebooks/klot_demo.ipynb +0 -0
  26. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/python/rustytree/_array.py +0 -0
  27. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/python/rustytree/backend.py +0 -0
  28. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/src/array.rs +0 -0
  29. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/src/dtype_dispatch.rs +0 -0
  30. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/src/error.rs +0 -0
  31. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/src/glob.rs +0 -0
  32. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/src/lib.rs +0 -0
  33. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/src/node.rs +0 -0
  34. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/src/runtime.rs +0 -0
  35. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/src/store.rs +0 -0
  36. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/src/url.rs +0 -0
  37. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/src/walk.rs +0 -0
  38. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/tests/conftest.py +0 -0
  39. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/tests/test_backend_entrypoint.py +0 -0
  40. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/tests/test_chunks.py +0 -0
  41. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/tests/test_codecs.py +0 -0
  42. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/tests/test_eager_fetch.py +0 -0
  43. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/tests/test_icechunk.py +0 -0
  44. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/tests/test_lazy.py +0 -0
  45. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/tests/test_pickle.py +0 -0
  46. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/tests/test_string_arrays.py +0 -0
  47. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/tests/test_to_rust_source.py +0 -0
  48. {rustytree_xarray-0.5.0 → rustytree_xarray-0.5.2}/tests/test_walk.py +0 -0
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # Deliberately NOT managed here (bumped by hand — coordinated, cross-manifest):
7
7
  # - icechunk / typetag: FFI lockstep. The Python `icechunk` (pyproject) must
8
- # share a minor with the Rust `icechunk` (`=2.1.0`) and `typetag`
8
+ # share a minor with the Rust `icechunk` (`=2.3.0`) and `typetag`
9
9
  # (`=0.2.22`) the crate links — the msgpack `Session` bytes format is
10
10
  # coupled across the boundary, so a solo bump breaks `Session::from_bytes`
11
11
  # (the 2.0.5→2.0.6 skew behind #46). Bump all three together manually.
@@ -82,12 +82,12 @@ jobs:
82
82
  uv venv --python "${{ matrix.python-version }}"
83
83
  uv pip install --python .venv/bin/python maturin
84
84
  - name: Install dev extras
85
- # Install the [dev] extras directly rather than `pip install -e ".[dev]"`,
86
- # which would re-trigger a full cdylib rebuild on top of maturin develop
87
- # below (we'd build the wheel twice — saves ~80s per matrix cell).
88
- # These are the deps pytest needs; ruff is not among them — linting runs
89
- # in the dedicated `lint` job above.
90
- run: uv pip install --python .venv/bin/python pytest pytest-cov 'zarr>=3.0' 'icechunk>=2.1.0,<2.2' 'dask[distributed]>=2024.1'
85
+ # `-r pyproject.toml --extra dev` installs only the [dev] dependencies,
86
+ # not the project itself — `pip install -e ".[dev]"` would re-trigger a
87
+ # full cdylib rebuild on top of maturin develop below (~80s per matrix
88
+ # cell). Reading the extra from pyproject keeps the icechunk pin in one
89
+ # place instead of re-listing it here.
90
+ run: uv pip install --python .venv/bin/python -r pyproject.toml --extra dev
91
91
  - name: Build extension (maturin develop)
92
92
  run: .venv/bin/maturin develop
93
93
  - name: pytest
@@ -11,6 +11,65 @@ release, that section is renamed to `[x.y.z] - YYYY-MM-DD` and a fresh
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
+ ## [0.5.2] - 2026-10-14
15
+
16
+ ### Security
17
+
18
+ - Bump the locked `rustls` from 0.23.40 to 0.23.45 (lockfile only), fixing
19
+ GHSA-2mjx-qc3c-rqvc (TLS 1.3 handshake messages accepted across encryption
20
+ level boundaries, affects `>= 0.23.13, < 0.23.45`) ([#90]). Brings
21
+ `rustls-webpki` 0.103.15 and `aws-lc-rs` 1.18.2 along. The legacy
22
+ `rustls` 0.21 / `rustls-webpki` 0.101.7 chain is unchanged: it comes from
23
+ `aws-sdk-s3`'s default `rustls` feature (via icechunk's S3 backend), which
24
+ a downstream crate cannot disable, and 0.101.x has no patched release.
25
+
26
+ ### Changed
27
+
28
+ - Bump the pinned `icechunk` from 2.2.2 to 2.3.0 and `zarrs_icechunk` from
29
+ 0.5 to 0.6 (which requires `icechunk ~2.3.0`) ([#88]). icechunk 2.3 replaces
30
+ `Repository::open(config, storage, credentials)` with a builder
31
+ (`Repository::open(storage).execute()`); the builder's defaults (no config
32
+ override, no virtual-chunk credentials) match the arguments rustytree passed
33
+ before, so behaviour is unchanged. The `dev` extra and CI now require
34
+ `icechunk>=2.3.0,<2.4` so the Python and Rust icechunk keep sharing a minor;
35
+ CI now installs the `dev` extra straight from `pyproject.toml` instead of
36
+ re-listing its pins, so the Python pin lives in one place.
37
+ `typetag` stays at `=0.2.22` (icechunk 2.3.0 still accepts it). MSRV
38
+ (`rust-version`) rises from 1.91.1 to 1.95, which icechunk 2.3.0 and
39
+ `zarrs_icechunk` 0.6 require. Two new Rust tests cover
40
+ `open_local_icechunk` directly (open a freshly created repo; clear error
41
+ when no repo exists). Verified: `cargo test --locked --no-default-features`
42
+ (60/60) and the full `pytest` suite with the opt-in S3 and arraylake
43
+ refreshable-credentials smoke tests enabled (204 passed, 2 skipped because
44
+ the local KTWX repo is missing, 1 xpassed) against a `maturin develop`
45
+ build linked to icechunk-python 2.3.0. A repo written by icechunk-python
46
+ 2.2.2 also reads correctly with the 2.3 build.
47
+
48
+ ## [0.5.1] - 2026-09-21
49
+
50
+ ### Changed
51
+
52
+ - Bump the pinned `icechunk` from 2.1.0 to 2.2.2 ([#82]). rustytree links the
53
+ `icechunk` Rust crate and round-trips sessions through
54
+ `Session::{as,from}_bytes` using plain (positional, not named-field) msgpack
55
+ encoding, so a struct field added anywhere ahead of the end of the encoded
56
+ type shifts every field after it. Between 2.1.x and 2.2.x, icechunk's
57
+ `RepositoryConfig` gained `max_concurrent_decodes`, inserted before
58
+ `caching` rather than appended — exactly the kind of change that breaks
59
+ cross-version `Session` bytes. The `dev` extra and CI now require
60
+ `icechunk>=2.2.0,<2.3` so the Python and Rust icechunk versions keep
61
+ sharing a minor. `typetag` stays at `=0.2.22` (icechunk 2.2.2 still
62
+ requires it, so the `py_credentials` `inventory` registry keeps matching
63
+ icechunk-python's), and icechunk-python's `PythonCredentialsFetcher` shape
64
+ is unchanged, so no `py_credentials.rs` code change was needed — only its
65
+ version-referencing doc comment. Verified: `cargo test --locked
66
+ --no-default-features` (58/58) and the full `pytest` suite (202 passed, 4
67
+ skipped for tests needing live S3/arraylake access, 1 pre-existing xfail)
68
+ against a `maturin develop` build linked to real icechunk-python 2.2.2,
69
+ covering real `Session` byte round-trips (`test_open_via_session_bytes`,
70
+ the ancestor-merge session tests) and the dask-distributed pickle path
71
+ (`test_distributed_compute_matches_threaded`).
72
+
14
73
  ## [0.5.0] - 2026-07-26
15
74
 
16
75
  ### Added
@@ -864,7 +923,9 @@ below.
864
923
  intentionally not normalized — relative-vs-absolute glob
865
924
  semantics differ in `PurePosixPath.match`.
866
925
 
867
- [Unreleased]: https://github.com/aladinor/rustytree/compare/v0.5.0...HEAD
926
+ [Unreleased]: https://github.com/aladinor/rustytree/compare/v0.5.2...HEAD
927
+ [0.5.2]: https://github.com/aladinor/rustytree/compare/v0.5.1...v0.5.2
928
+ [0.5.1]: https://github.com/aladinor/rustytree/compare/v0.5.0...v0.5.1
868
929
  [0.5.0]: https://github.com/aladinor/rustytree/compare/v0.4.0...v0.5.0
869
930
  [0.4.0]: https://github.com/aladinor/rustytree/compare/v0.3.0...v0.4.0
870
931
  [0.3.0]: https://github.com/aladinor/rustytree/compare/v0.2.1...v0.3.0
@@ -919,3 +980,6 @@ below.
919
980
  [#75]: https://github.com/aladinor/rustytree/pull/75
920
981
  [#76]: https://github.com/aladinor/rustytree/pull/76
921
982
  [#77]: https://github.com/aladinor/rustytree/pull/77
983
+ [#82]: https://github.com/aladinor/rustytree/pull/82
984
+ [#88]: https://github.com/aladinor/rustytree/pull/88
985
+ [#90]: https://github.com/aladinor/rustytree/pull/90