From d5d8afc8169895de6af0a2d0ff85a9d1c94cb23e Mon Sep 17 00:00:00 2001 From: Norman Rzepka Date: Wed, 17 Sep 2025 11:21:24 +0200 Subject: [PATCH 1/2] disable conditional writes --- webknossos/webknossos/dataset/_array.py | 1 + 1 file changed, 1 insertion(+) diff --git a/webknossos/webknossos/dataset/_array.py b/webknossos/webknossos/dataset/_array.py index 506563474..00786c1d6 100644 --- a/webknossos/webknossos/dataset/_array.py +++ b/webknossos/webknossos/dataset/_array.py @@ -547,6 +547,7 @@ def _make_kvstore(path: UPath) -> str | dict[str, str | list[str]]: "driver": "s3", "path": parsed_url.path.lstrip("/"), "bucket": parsed_url.netloc, + "use_conditional_write": False, } if endpoint_url := path.storage_options.get("client_kwargs", {}).get( "endpoint_url", None From bcff8e4d9e0cc39f691a359848d942d1d894a7ec Mon Sep 17 00:00:00 2001 From: Norman Rzepka Date: Wed, 17 Sep 2025 11:23:05 +0200 Subject: [PATCH 2/2] changelog --- webknossos/Changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/webknossos/Changelog.md b/webknossos/Changelog.md index a7904564d..642490728 100644 --- a/webknossos/Changelog.md +++ b/webknossos/Changelog.md @@ -17,6 +17,7 @@ For upgrade instructions, please check the respective _Breaking Changes_ section ### Added ### Changed +- Disabled conditional writes for S3 buckets in tensorstore. [#1368](https://github.com/scalableminds/webknossos-libs/pull/1368) ### Fixed - Fixed that some operations that need an authentication token didn’t ask for it but just failed. [#1366](https://github.com/scalableminds/webknossos-libs/pull/1366)