Skip to content

Commit e9c3f9d

Browse files
laramielcopybara-github
authored andcommitted
Update a bunch of tensorstore third_party dependencies
PiperOrigin-RevId: 866633716 Change-Id: I960e67939028cb455aac4b4e8e9c047a0a015daf
1 parent 978ecd5 commit e9c3f9d

File tree

41 files changed

+179
-112
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+179
-112
lines changed

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.4.2
1+
8.5.1

WORKSPACE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ load("@bazel_features//:deps.bzl", "bazel_features_deps")
1010

1111
bazel_features_deps()
1212

13+
load("@rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")
14+
15+
compatibility_proxy_repo()
16+
1317
load("@rules_shell//shell:repositories.bzl", "rules_shell_toolchains")
1418

1519
rules_shell_toolchains()

python/tensorstore/__init__.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1592,7 +1592,7 @@ class Dim:
15921592
inclusive_max
15931593
"""
15941594

1595-
def __iter__(self) -> typing.Iterator:
1595+
def __iter__(self) -> collections.abc.Iterator:
15961596
"""
15971597
Enables iteration over the indices contained in the interval.
15981598
@@ -9891,7 +9891,7 @@ class TensorStore(Indexable):
98919891

98929892
def __array__(
98939893
self,
9894-
dtype: numpy.dtype[typing.Any] | None = None,
9894+
dtype: numpy.dtype | None = None,
98959895
copy: bool | None = None,
98969896
context: typing.Any | None = None,
98979897
) -> numpy.ndarray:
@@ -12351,7 +12351,7 @@ class dtype:
1235112351
"""
1235212352

1235312353
@property
12354-
def numpy_dtype(self) -> numpy.dtype[typing.Any]:
12354+
def numpy_dtype(self) -> numpy.dtype:
1235512355
"""
1235612356
NumPy data type corresponding to this TensorStore data type.
1235712357
@@ -13540,7 +13540,7 @@ def overlay(
1354013540
"""
1354113541

1354213542

13543-
def parse_tensorstore_flags(argv: list[str]) -> None:
13543+
def parse_tensorstore_flags(argv: collections.abc.Sequence[str]) -> None:
1354413544
"""
1354513545
Parses and initializes internal tensorstore flags from argv.
1354613546

python/tensorstore/generate_type_stubs.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,15 @@ def _munge_type_stubs_file(
378378
ast.fix_missing_locations(stub_ast)
379379
content = ast.unparse(stub_ast)
380380
content = content.replace("typing.Tuple[", "tuple[")
381+
# Patch inconsistencies in pybind11 stub differences.
382+
content = content.replace("typing.SupportsInt", "int")
383+
content = content.replace("typing.SupportsFloat", "float")
384+
content = content.replace("typing.Iterator", "collections.abc.Iterator")
385+
content = content.replace("numpy.dtype[typing.Any]", "numpy.dtype")
386+
content = content.replace(
387+
"parse_tensorstore_flags(argv: list[",
388+
"parse_tensorstore_flags(argv: collections.abc.Sequence[",
389+
)
381390
content = black.format_str(content, mode=black.Mode())
382391
return content
383392

@@ -467,5 +476,6 @@ def main():
467476
)
468477
sys.exit(1)
469478

479+
470480
if __name__ == "__main__":
471481
main()

tensorstore/driver/zarr3/sharding_benchmark_test.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,9 @@ void BM_Read(benchmark::State& state) {
160160
helper.total_bytes);
161161
}
162162

163-
template <typename Bench>
164-
void DefineArgs(Bench* bench) {
163+
using benchmark::Benchmark;
164+
165+
void DefineArgs(Benchmark* bench) {
165166
for (int cache_pool_size : {0, 64 * 1024 * 1024}) {
166167
for (auto chunk_size : {16, 32, 64, 128}) {
167168
for (auto parallelism : {1, 8, 32}) {

tensorstore/internal/nditerable_copy_benchmark_test.cc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,14 @@ void BM_Copy(benchmark::State& state) {
217217
inner);
218218
}
219219

220-
template <typename Bench>
221-
void DefineArgs(Bench* benchmark) {
222-
benchmark->Args({1, 32 * 1024});
223-
benchmark->Args({500, 100});
224-
benchmark->Args({500, 64});
225-
benchmark->Args({1000, 32});
226-
benchmark->Args({2000, 16});
220+
using benchmark::Benchmark;
221+
222+
void DefineArgs(Benchmark* bench) {
223+
bench->Args({1, 32 * 1024});
224+
bench->Args({500, 100});
225+
bench->Args({500, 64});
226+
bench->Args({1000, 32});
227+
bench->Args({2000, 16});
227228
}
228229

229230
BENCHMARK(BM_Copy<kNDIter>)->Apply(DefineArgs);

third_party/abseil_cpp/workspace.bzl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ def repo():
2727
maybe(
2828
third_party_http_archive,
2929
name = "abseil-cpp",
30-
doc_version = "20250811-274c81389",
30+
doc_version = "20260206-1296124",
3131
doc_homepage = "https://abseil.io/",
32-
urls = mirror_url("https://github.com/abseil/abseil-cpp/archive/274c81389f97afc612d76dc7cb5d38144cd9647f.tar.gz"), # master(2025-08-11)
33-
sha256 = "fb285607088cde65b5849b57dff42342a26e4e3e578e1f64fa2f895d04b0fe85",
34-
strip_prefix = "abseil-cpp-274c81389f97afc612d76dc7cb5d38144cd9647f",
32+
urls = mirror_url("https://github.com/abseil/abseil-cpp/archive/12961243df63faac8289c3abc79e5e417b50aa6b.tar.gz"), # master(2026-02-06)
33+
sha256 = "6646e253172d94dbd0fdca0ef6853c90272415d9321e4e163d2b0f7482419509",
34+
strip_prefix = "abseil-cpp-12961243df63faac8289c3abc79e5e417b50aa6b",
3535
repo_mapping = {
3636
"@com_google_googletest": "@googletest",
3737
},
@@ -66,6 +66,8 @@ ABSL_CMAKE_MAPPING = {
6666
"//absl/container:inlined_vector": "absl::inlined_vector",
6767
"//absl/container:node_hash_map": "absl::node_hash_map",
6868
"//absl/container:node_hash_set": "absl::node_hash_set",
69+
"//absl/container:linked_hash_map": "absl::linked_hash_map",
70+
"//absl/container:linked_hash_set": "absl::linked_hash_set",
6971
"//absl/crc:crc32c": "absl::crc32c",
7072
"//absl/debugging:debugging": "absl::debugging",
7173
"//absl/debugging:failure_signal_handler": "absl::failure_signal_handler",

third_party/aws_c_auth/workspace.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ def repo():
2525
maybe(
2626
third_party_http_archive,
2727
name = "aws_c_auth",
28-
sha256 = "aa6e98864fefb95c249c100da4ae7aed36ba13a8a91415791ec6fad20bec0427",
29-
strip_prefix = "aws-c-auth-0.9.0",
30-
urls = mirror_url("https://github.com/awslabs/aws-c-auth/archive/v0.9.0.tar.gz"),
28+
sha256 = "39000bff55fe8c82265b9044a966ab37da5c192a775e1b68b6fcba7e7f9882fb",
29+
strip_prefix = "aws-c-auth-0.9.5",
30+
urls = mirror_url("https://github.com/awslabs/aws-c-auth/archive/v0.9.5.tar.gz"),
3131
build_file = Label("//third_party:aws_c_auth/aws_c_auth.BUILD.bazel"),
3232
cmake_name = "aws_c_auth",
3333
cmake_target_mapping = {

third_party/aws_c_cal/aws_c_cal.BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ cc_library(
1212
"source/*.c",
1313
"source/shared/ed25519.c",
1414
"source/shared/lccrypto_common.c",
15+
"source/shared/ref_hkdf.c",
1516
]) + select({
1617
"@platforms//os:windows": glob([
1718
"source/windows/*.c",

third_party/aws_c_cal/workspace.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ def repo():
2525
maybe(
2626
third_party_http_archive,
2727
name = "aws_c_cal",
28-
sha256 = "f9f3bc6a069e2efe25fcdf73e4d2b16b5608c327d2eb57c8f7a8524e9e1fcad0",
29-
strip_prefix = "aws-c-cal-0.9.2",
30-
urls = mirror_url("https://github.com/awslabs/aws-c-cal/archive/v0.9.2.tar.gz"),
28+
sha256 = "80b7c6087b0af461b4483e4c9483aea2e0dac5d9fb2289b057159ea6032409e1",
29+
strip_prefix = "aws-c-cal-0.9.13",
30+
urls = mirror_url("https://github.com/awslabs/aws-c-cal/archive/v0.9.13.tar.gz"),
3131
build_file = Label("//third_party:aws_c_cal/aws_c_cal.BUILD.bazel"),
3232
cmake_name = "aws_c_cal",
3333
cmake_target_mapping = {

0 commit comments

Comments
 (0)