rustytree-xarray 0.5.1__tar.gz → 0.5.3__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.1 → rustytree_xarray-0.5.3}/.github/dependabot.yml +2 -2
  2. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/.github/workflows/ci.yml +9 -8
  3. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/.github/workflows/release.yml +4 -4
  4. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/CHANGELOG.md +94 -1
  5. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/Cargo.lock +90 -227
  6. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/Cargo.toml +5 -5
  7. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/PKG-INFO +5 -4
  8. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/README.md +2 -2
  9. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/docs/architecture.md +4 -4
  10. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/docs/contributing.md +1 -1
  11. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/docs/release-process.md +8 -8
  12. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/docs/usage.md +2 -2
  13. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/pyproject.toml +5 -4
  14. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/python/rustytree/__init__.py +1 -1
  15. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/src/array.rs +4 -3
  16. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/src/icechunk_store.rs +44 -10
  17. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/src/lib.rs +3 -3
  18. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/src/py_credentials.rs +1 -1
  19. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/tests/test_phase1_scaffold.py +1 -1
  20. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/.gitignore +0 -0
  21. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/LICENSE +0 -0
  22. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/assets/logo-banner-dark.png +0 -0
  23. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/assets/logo-banner-dark.svg +0 -0
  24. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/assets/logo-banner-light.png +0 -0
  25. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/assets/logo-banner-light.svg +0 -0
  26. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/assets/logo.png +0 -0
  27. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/notebooks/klot_demo.ipynb +0 -0
  28. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/python/rustytree/_array.py +0 -0
  29. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/python/rustytree/backend.py +0 -0
  30. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/src/dtype_dispatch.rs +0 -0
  31. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/src/error.rs +0 -0
  32. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/src/glob.rs +0 -0
  33. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/src/node.rs +0 -0
  34. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/src/runtime.rs +0 -0
  35. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/src/store.rs +0 -0
  36. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/src/url.rs +0 -0
  37. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/src/walk.rs +0 -0
  38. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/tests/conftest.py +0 -0
  39. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/tests/test_backend_entrypoint.py +0 -0
  40. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/tests/test_chunks.py +0 -0
  41. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/tests/test_codecs.py +0 -0
  42. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/tests/test_eager_fetch.py +0 -0
  43. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/tests/test_icechunk.py +0 -0
  44. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/tests/test_lazy.py +0 -0
  45. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/tests/test_pickle.py +0 -0
  46. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/tests/test_string_arrays.py +0 -0
  47. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/tests/test_to_rust_source.py +0 -0
  48. {rustytree_xarray-0.5.1 → rustytree_xarray-0.5.3}/tests/test_walk.py +0 -0
@@ -5,8 +5,8 @@
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.2.2`) and `typetag`
9
- # (`=0.2.22`) the crate links — the msgpack `Session` bytes format is
8
+ # share a minor with the Rust `icechunk` (exact pin in `Cargo.toml`) and `typetag`
9
+ # 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.
12
12
  # - ruff: pinned in pyproject AND hardcoded in ci.yml (`uvx ruff@0.15.8`),
@@ -56,7 +56,8 @@ jobs:
56
56
  LD_LIBRARY_PATH: ${{ env.pythonLocation }}/lib
57
57
 
58
58
  # Python integration: build the cdylib via maturin and run pytest against
59
- # the supported interpreter range. Each matrix cell rebuilds the extension
59
+ # the oldest and newest supported interpreters (3.13 wheels are built by
60
+ # release.yml but not tested here). Each matrix cell rebuilds the extension
60
61
  # because PyO3 cdylibs are interpreter-specific.
61
62
  python:
62
63
  name: pytest (Python ${{ matrix.python-version }})
@@ -65,7 +66,7 @@ jobs:
65
66
  strategy:
66
67
  fail-fast: false
67
68
  matrix:
68
- python-version: ["3.12"]
69
+ python-version: ["3.12", "3.14"]
69
70
  steps:
70
71
  - uses: actions/checkout@v7
71
72
  - uses: dtolnay/rust-toolchain@stable
@@ -82,12 +83,12 @@ jobs:
82
83
  uv venv --python "${{ matrix.python-version }}"
83
84
  uv pip install --python .venv/bin/python maturin
84
85
  - 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.2.0,<2.3' 'dask[distributed]>=2024.1'
86
+ # `-r pyproject.toml --extra dev` installs only the [dev] dependencies,
87
+ # not the project itself — `pip install -e ".[dev]"` would re-trigger a
88
+ # full cdylib rebuild on top of maturin develop below (~80s per matrix
89
+ # cell). Reading the extra from pyproject keeps the icechunk pin in one
90
+ # place instead of re-listing it here.
91
+ run: uv pip install --python .venv/bin/python -r pyproject.toml --extra dev
91
92
  - name: Build extension (maturin develop)
92
93
  run: .venv/bin/maturin develop
93
94
  - name: pytest
@@ -31,7 +31,7 @@ jobs:
31
31
  matrix:
32
32
  platform:
33
33
  # manylinux x86_64 — auto picks the most compatible PEP 600
34
- # tag the toolchain supports (manylinux_2_28 today).
34
+ # tag the toolchain supports (manylinux_2_17 as of 0.5.2).
35
35
  - { os: ubuntu-latest, target: x86_64-unknown-linux-gnu, manylinux: auto }
36
36
  # manylinux aarch64 — Graviton, ARM cloud, Raspberry Pi.
37
37
  # Native arm runner (`ubuntu-24.04-arm`, free for public
@@ -41,10 +41,10 @@ jobs:
41
41
  # define `__ARM_ARCH`. Native build sidesteps that and is
42
42
  # ~3× faster too.
43
43
  - { os: ubuntu-24.04-arm, target: aarch64-unknown-linux-gnu, manylinux: auto }
44
- # Apple Silicon. The macos-14 runner is arm64-native, so the
44
+ # Apple Silicon. The macos-15 runner is arm64-native, so the
45
45
  # default target works without cross-compile.
46
- - { os: macos-14, target: aarch64-apple-darwin, manylinux: auto }
47
- python-version: ["3.12", "3.13"]
46
+ - { os: macos-15, target: aarch64-apple-darwin, manylinux: auto }
47
+ python-version: ["3.12", "3.13", "3.14"]
48
48
  runs-on: ${{ matrix.platform.os }}
49
49
  steps:
50
50
  - uses: actions/checkout@v7
@@ -11,6 +11,91 @@ 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.3] - 2026-11-16
15
+
16
+ ### Added
17
+
18
+ - Python 3.14 wheels ([#93]). The release matrix now builds CPython 3.14
19
+ wheels alongside 3.12 and 3.13 for all three platforms (manylinux x86_64,
20
+ manylinux aarch64, macOS arm64), CI runs the `pytest` job on 3.14 as well
21
+ as 3.12, and the package carries the `Programming Language :: Python ::
22
+ 3.14` classifier. Previously `pip install rustytree-xarray` on 3.14 fell
23
+ back to a source build, which needs a Rust toolchain at the crate's MSRV.
24
+
25
+ ### Changed
26
+
27
+ - Rename two underscore-prefixed Rust items to satisfy clippy's
28
+ `used_underscore_items` lint under Rust 1.100 ([#93]): the `#[pymodule]`
29
+ function is now `rustytree` and the pickle reconstructor is
30
+ `reopen_array_handle`. Both keep their Python-visible names through
31
+ `#[pymodule(name = "_rustytree")]` and
32
+ `#[pyfunction(name = "_reopen_array_handle")]`, so the import path
33
+ `rustytree._rustytree` and existing `ZarrsArrayHandle` pickles are
34
+ unaffected.
35
+ - Lockfile-only bumps from the Dependabot `cargo-minor` group ([#92]):
36
+ `tokio` 1.53.2 → 1.54.1 and `serde_json` 1.0.151 → 1.0.154.
37
+ - Bump the pinned `icechunk` from 2.3.0 to 2.3.1 ([#94]). A patch bump within
38
+ the 2.3 minor: no serialized struct changed between 2.3.0 and 2.3.1
39
+ (including icechunk-python's `PythonCredentialsFetcher`), so `Session`
40
+ bytes stay compatible with icechunk-python 2.3.0 and 2.3.1 and the
41
+ `icechunk>=2.3.0,<2.4` Python pin is unchanged. icechunk 2.3.1 drops
42
+ `aws-sdk-s3`'s legacy TLS stack, so the lockfile no longer carries
43
+ `rustls` 0.21 / `rustls-webpki` 0.101.7 / `hyper` 0.14 (the unpatched
44
+ chain noted under 0.5.2); `rustls` stays at 0.23.45. Comments that
45
+ repeated the exact pin now point at `Cargo.toml`, and stale version
46
+ references are corrected in the README support table (icechunk row),
47
+ `docs/usage.md`, `docs/architecture.md`, `docs/release-process.md` (wheel
48
+ tag, native aarch64 build, sdist package name) and the
49
+ `bundle_from_session_bytes` doc comment. Verified: `cargo test --locked
50
+ --no-default-features` (60/60) and the full `pytest` suite (202 passed, 4
51
+ skipped for tests needing local KTWX data or live S3/arraylake access, 1
52
+ pre-existing xfail, which passes under xarray 2026.9.0) against a `maturin develop` build linked to
53
+ icechunk-python 2.3.1 on Python 3.12 and 3.14, plus the network-gated
54
+ anonymous-S3 smoke (`RUSTYTREE_S3_SMOKE=1`). The arraylake
55
+ refreshable-credentials smoke (`RUSTYTREE_ARRAYLAKE_SMOKE=1`) was not run.
56
+
57
+ ### Fixed
58
+
59
+ - Release workflow: build the macOS arm64 wheels on `macos-15` ([#96]).
60
+ GitHub no longer provisions the `macos-14` runner image ("The
61
+ configuration 'macos-14-arm64-us-default' is not supported"), which
62
+ cancelled all three macOS wheel cells in the pre-tag dry run and would
63
+ have blocked the release and PyPI publish jobs.
64
+
65
+ ## [0.5.2] - 2026-10-14
66
+
67
+ ### Security
68
+
69
+ - Bump the locked `rustls` from 0.23.40 to 0.23.45 (lockfile only), fixing
70
+ GHSA-2mjx-qc3c-rqvc (TLS 1.3 handshake messages accepted across encryption
71
+ level boundaries, affects `>= 0.23.13, < 0.23.45`) ([#90]). Brings
72
+ `rustls-webpki` 0.103.15 and `aws-lc-rs` 1.18.2 along. The legacy
73
+ `rustls` 0.21 / `rustls-webpki` 0.101.7 chain is unchanged: it comes from
74
+ `aws-sdk-s3`'s default `rustls` feature (via icechunk's S3 backend), which
75
+ a downstream crate cannot disable, and 0.101.x has no patched release.
76
+
77
+ ### Changed
78
+
79
+ - Bump the pinned `icechunk` from 2.2.2 to 2.3.0 and `zarrs_icechunk` from
80
+ 0.5 to 0.6 (which requires `icechunk ~2.3.0`) ([#88]). icechunk 2.3 replaces
81
+ `Repository::open(config, storage, credentials)` with a builder
82
+ (`Repository::open(storage).execute()`); the builder's defaults (no config
83
+ override, no virtual-chunk credentials) match the arguments rustytree passed
84
+ before, so behaviour is unchanged. The `dev` extra and CI now require
85
+ `icechunk>=2.3.0,<2.4` so the Python and Rust icechunk keep sharing a minor;
86
+ CI now installs the `dev` extra straight from `pyproject.toml` instead of
87
+ re-listing its pins, so the Python pin lives in one place.
88
+ `typetag` stays at `=0.2.22` (icechunk 2.3.0 still accepts it). MSRV
89
+ (`rust-version`) rises from 1.91.1 to 1.95, which icechunk 2.3.0 and
90
+ `zarrs_icechunk` 0.6 require. Two new Rust tests cover
91
+ `open_local_icechunk` directly (open a freshly created repo; clear error
92
+ when no repo exists). Verified: `cargo test --locked --no-default-features`
93
+ (60/60) and the full `pytest` suite with the opt-in S3 and arraylake
94
+ refreshable-credentials smoke tests enabled (204 passed, 2 skipped because
95
+ the local KTWX repo is missing, 1 xpassed) against a `maturin develop`
96
+ build linked to icechunk-python 2.3.0. A repo written by icechunk-python
97
+ 2.2.2 also reads correctly with the 2.3 build.
98
+
14
99
  ## [0.5.1] - 2026-09-21
15
100
 
16
101
  ### Changed
@@ -889,7 +974,9 @@ below.
889
974
  intentionally not normalized — relative-vs-absolute glob
890
975
  semantics differ in `PurePosixPath.match`.
891
976
 
892
- [Unreleased]: https://github.com/aladinor/rustytree/compare/v0.5.1...HEAD
977
+ [Unreleased]: https://github.com/aladinor/rustytree/compare/v0.5.3...HEAD
978
+ [0.5.3]: https://github.com/aladinor/rustytree/compare/v0.5.2...v0.5.3
979
+ [0.5.2]: https://github.com/aladinor/rustytree/compare/v0.5.1...v0.5.2
893
980
  [0.5.1]: https://github.com/aladinor/rustytree/compare/v0.5.0...v0.5.1
894
981
  [0.5.0]: https://github.com/aladinor/rustytree/compare/v0.4.0...v0.5.0
895
982
  [0.4.0]: https://github.com/aladinor/rustytree/compare/v0.3.0...v0.4.0
@@ -946,3 +1033,9 @@ below.
946
1033
  [#76]: https://github.com/aladinor/rustytree/pull/76
947
1034
  [#77]: https://github.com/aladinor/rustytree/pull/77
948
1035
  [#82]: https://github.com/aladinor/rustytree/pull/82
1036
+ [#88]: https://github.com/aladinor/rustytree/pull/88
1037
+ [#90]: https://github.com/aladinor/rustytree/pull/90
1038
+ [#92]: https://github.com/aladinor/rustytree/pull/92
1039
+ [#93]: https://github.com/aladinor/rustytree/pull/93
1040
+ [#94]: https://github.com/aladinor/rustytree/pull/94
1041
+ [#96]: https://github.com/aladinor/rustytree/pull/96