Skip to content

Commit 82b0b83

Browse files
authored
chore: update Rust dependencies (#98)
The major change for zarrs-python is that zstd codec perf has improved since zarrs 0.20.1
1 parent 72fb069 commit 82b0b83

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ name = "zarrs_python"
99
crate-type = ["cdylib", "rlib"]
1010

1111
[dependencies]
12-
pyo3 = { version = "0.23.2", features = ["abi3-py311"] }
13-
zarrs = { version = "0.20.0", features = ["async", "zlib", "pcodec", "bz2"] }
12+
pyo3 = { version = "0.25.1", features = ["abi3-py311"] }
13+
zarrs = { version = "0.21.2", features = ["async", "zlib", "pcodec", "bz2"] }
1414
rayon_iter_concurrent_limit = "0.2.0"
1515
rayon = "1.10.0"
1616
# fix for https://stackoverflow.com/questions/76593417/package-openssl-was-not-found-in-the-pkg-config-search-path
1717
openssl = { version = "0.10", features = ["vendored"] }
18-
numpy = "0.23.0"
18+
numpy = "0.25.0"
1919
unsafe_cell_slice = "0.2.0"
2020
serde_json = "1.0.128"
21-
pyo3-stub-gen = "0.7.0"
21+
pyo3-stub-gen = "0.9.1"
2222
opendal = { version = "0.53.0", features = ["services-http"] }
2323
tokio = { version = "1.41.1", features = ["rt-multi-thread"] }
2424
zarrs_opendal = "0.7.2"
25-
itertools = "0.9.0"
25+
itertools = "0.14.0"
2626

2727
[profile.release]
2828
lto = true

python/zarrs/_internal.pyi

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33

44
import builtins
55
import typing
6-
from enum import Enum, auto
6+
from enum import Enum
77

88
import numpy.typing
99

1010
class Basic:
11-
def __new__(cls, byte_interface: typing.Any, chunk_spec: typing.Any): ...
12-
...
11+
def __new__(cls, byte_interface: typing.Any, chunk_spec: typing.Any) -> Basic: ...
1312

1413
class CodecPipelineImpl:
1514
def __new__(
@@ -21,7 +20,7 @@ class CodecPipelineImpl:
2120
chunk_concurrent_minimum: builtins.int | None = None,
2221
chunk_concurrent_maximum: builtins.int | None = None,
2322
num_threads: builtins.int | None = None,
24-
): ...
23+
) -> CodecPipelineImpl: ...
2524
def retrieve_chunks_and_apply_index(
2625
self,
2726
chunk_descriptions: typing.Sequence[WithSubset],
@@ -46,9 +45,8 @@ class WithSubset:
4645
chunk_subset: typing.Sequence[slice],
4746
subset: typing.Sequence[slice],
4847
shape: typing.Sequence[builtins.int],
49-
): ...
50-
...
48+
) -> WithSubset: ...
5149

5250
class StoreConfig(Enum):
53-
Filesystem = auto()
54-
Http = auto()
51+
Filesystem = ...
52+
Http = ...

0 commit comments

Comments
 (0)