Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.67.0] - 2026-10-28

### Changed

- `tilebox-datasets`: Require `protobuf-py>=0.7.0,<0.8` and update the protobuf-py code generator to 0.7.0. Introduced
an upper version constraint to guard against breaking `protobuf-py` releases in the future.
- `tilebox-workflows`: Remove Google SDK Bucket support from `GoogleStorageCache`. Pass a bucket name instead;
all storage operations use obstore with Google Auth credentials. Remove the `google-cloud-storage` test dependency.

### Fixed

- `tilebox-datasets`: Fix client imports failing with protobuf-py 0.7.0 by regenerating STAC messages
with fully qualified well-known-type imports. The message schemas are unchanged.

## [0.66.0] - 2026-10-14

### Added
Expand Down Expand Up @@ -650,7 +664,8 @@ the first client that does not cache data (since it's already on the local file
- Released under the [MIT](https://opensource.org/license/mit) license.
- Released packages: `tilebox-datasets`, `tilebox-workflows`, `tilebox-storage`, `tilebox-grpc`

[Unreleased]: https://github.com/tilebox/tilebox-python/compare/v0.65.0...HEAD
[Unreleased]: https://github.com/tilebox/tilebox-python/compare/v0.67.0...HEAD
[0.67.0]: https://github.com/tilebox/tilebox-python/compare/v0.66.0...v0.67.0
[0.65.0]: https://github.com/tilebox/tilebox-python/compare/v0.64.0...v0.65.0
[0.64.0]: https://github.com/tilebox/tilebox-python/compare/v0.63.2...v0.64.0
[0.63.2]: https://github.com/tilebox/tilebox-python/compare/v0.63.1...v0.63.2
Expand Down
3 changes: 2 additions & 1 deletion buf.gen.datasets-bufpy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# yaml-language-server: $schema=https://www.schemastore.org/buf.gen.json
version: v2
plugins:
- remote: buf.build/bufbuild/py:v0.2.0
# Keep the generator version and the protobuf-py minimum version in tilebox-datasets/pyproject.toml matching.
- remote: buf.build/bufbuild/py:v0.7.0
out: tilebox-datasets/tilebox/datasets
opt: init_files=false
inputs:
Expand Down
2 changes: 1 addition & 1 deletion prek.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ hooks = [

[[repos]]
repo = "https://github.com/charliermarsh/ruff-pre-commit"
rev = "v0.16.10"
rev = "v0.17.3"
hooks = [
{
id = "ruff-check",
Expand Down
3 changes: 2 additions & 1 deletion tilebox-datasets/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ dependencies = [
"pandas>=2.2.2",
"shapely>=2.0.6",
"promise>=2.3",
"protobuf-py>=0.2.0", # supports integer values in floating-point fields
# Keep the minimum version and the generator version in ../buf.gen.datasets-bufpy.yaml matching.
"protobuf-py>=0.7.0,<0.8", # minor releases can break generated-code compatibility
]

[dependency-groups]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Generated from datasets/stac/v1/asset_metadata.proto. DO NOT EDIT.
# Generated by protoc-gen-py v0.2.0 with parameter "init_files=false".
# Generated by protoc-gen-py v0.7.0 with parameter "init_files=false".
# ruff: noqa: PGH004
# ruff: noqa
# pyright: reportDeprecated=false
# ty: ignore[unused-ignore-comment]
# ty: ignore[deprecated, unused-ignore-comment]
# fmt: off

from __future__ import annotations
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Generated from datasets/stac/v1/asset.proto. DO NOT EDIT.
# Generated by protoc-gen-py v0.2.0 with parameter "init_files=false".
# Generated by protoc-gen-py v0.7.0 with parameter "init_files=false".
# ruff: noqa: PGH004
# ruff: noqa
# pyright: reportDeprecated=false
# ty: ignore[unused-ignore-comment]
# ty: ignore[deprecated, unused-ignore-comment]
# fmt: off

from __future__ import annotations
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Generated from datasets/stac/v1/authentication.proto. DO NOT EDIT.
# Generated by protoc-gen-py v0.2.0 with parameter "init_files=false".
# Generated by protoc-gen-py v0.7.0 with parameter "init_files=false".
# ruff: noqa: PGH004
# ruff: noqa
# pyright: reportDeprecated=false
# ty: ignore[unused-ignore-comment]
# ty: ignore[deprecated, unused-ignore-comment]
# fmt: off

from __future__ import annotations
Expand All @@ -10,11 +13,11 @@

from protobuf import Enum, Message
from protobuf._codegen import file_desc
from protobuf.wkt import struct_pb
from protobuf.wkt.google.protobuf import struct_pb

if TYPE_CHECKING:
from protobuf import DescFile
from protobuf.wkt import Struct
from protobuf.wkt.google.protobuf.struct_pb import Struct


_AuthenticationFields: TypeAlias = Literal["schemes"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Generated from datasets/stac/v1/core.proto. DO NOT EDIT.
# Generated by protoc-gen-py v0.2.0 with parameter "init_files=false".
# Generated by protoc-gen-py v0.7.0 with parameter "init_files=false".
# ruff: noqa: PGH004
# ruff: noqa
# pyright: reportDeprecated=false
# ty: ignore[unused-ignore-comment]
# ty: ignore[deprecated, unused-ignore-comment]
# fmt: off

from __future__ import annotations
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Generated from datasets/stac/v1/processing.proto. DO NOT EDIT.
# Generated by protoc-gen-py v0.2.0 with parameter "init_files=false".
# Generated by protoc-gen-py v0.7.0 with parameter "init_files=false".
# ruff: noqa: PGH004
# ruff: noqa
# pyright: reportDeprecated=false
# ty: ignore[unused-ignore-comment]
# ty: ignore[deprecated, unused-ignore-comment]
# fmt: off

from __future__ import annotations
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Generated from datasets/stac/v1/product.proto. DO NOT EDIT.
# Generated by protoc-gen-py v0.2.0 with parameter "init_files=false".
# Generated by protoc-gen-py v0.7.0 with parameter "init_files=false".
# ruff: noqa: PGH004
# ruff: noqa
# pyright: reportDeprecated=false
# ty: ignore[unused-ignore-comment]
# ty: ignore[deprecated, unused-ignore-comment]
# fmt: off

from __future__ import annotations
Expand Down
5 changes: 4 additions & 1 deletion tilebox-datasets/tilebox/datasets/datasets/stac/v1/sar_pb.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Generated from datasets/stac/v1/sar.proto. DO NOT EDIT.
# Generated by protoc-gen-py v0.2.0 with parameter "init_files=false".
# Generated by protoc-gen-py v0.7.0 with parameter "init_files=false".
# ruff: noqa: PGH004
# ruff: noqa
# pyright: reportDeprecated=false
# ty: ignore[unused-ignore-comment]
# ty: ignore[deprecated, unused-ignore-comment]
# fmt: off

from __future__ import annotations
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Generated from datasets/stac/v1/satellite.proto. DO NOT EDIT.
# Generated by protoc-gen-py v0.2.0 with parameter "init_files=false".
# Generated by protoc-gen-py v0.7.0 with parameter "init_files=false".
# ruff: noqa: PGH004
# ruff: noqa
# pyright: reportDeprecated=false
# ty: ignore[unused-ignore-comment]
# ty: ignore[deprecated, unused-ignore-comment]
# fmt: off

from __future__ import annotations
Expand All @@ -10,11 +13,11 @@

from protobuf import Enum, Message
from protobuf._codegen import file_desc
from protobuf.wkt import timestamp_pb
from protobuf.wkt.google.protobuf import timestamp_pb

if TYPE_CHECKING:
from protobuf import DescFile
from protobuf.wkt import Timestamp
from protobuf.wkt.google.protobuf.timestamp_pb import Timestamp


_SatelliteOrbitStateVectorFields: TypeAlias = Literal["datetime", "values"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Generated from datasets/stac/v1/storage.proto. DO NOT EDIT.
# Generated by protoc-gen-py v0.2.0 with parameter "init_files=false".
# Generated by protoc-gen-py v0.7.0 with parameter "init_files=false".
# ruff: noqa: PGH004
# ruff: noqa
# pyright: reportDeprecated=false
# ty: ignore[unused-ignore-comment]
# ty: ignore[deprecated, unused-ignore-comment]
# fmt: off

from __future__ import annotations
Expand All @@ -10,11 +13,11 @@

from protobuf import Enum, Message
from protobuf._codegen import file_desc
from protobuf.wkt import struct_pb
from protobuf.wkt.google.protobuf import struct_pb

if TYPE_CHECKING:
from protobuf import DescFile
from protobuf.wkt import Value
from protobuf.wkt.google.protobuf.struct_pb import Value


_StorageFields: TypeAlias = Literal["schemes"]
Expand Down
1 change: 0 additions & 1 deletion tilebox-workflows/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ geospatial = [
[dependency-groups]
dev = [
"boto3-stubs[s3]>=1.40.2",
"google-cloud-storage>=3.2.0",
"grpcio-status>=1.78.0",
"hypothesis>=6.112.1",
"ipywidgets>=8.1.7",
Expand Down
2 changes: 1 addition & 1 deletion tilebox-workflows/tests/test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def test_google_storage_credentials_and_groups() -> None:
first = cache.group("folder")
assert_type(cache.bucket, str)
assert_type(first.bucket, str)
assert_type(first, GoogleStorageCache[str])
assert_type(first, GoogleStorageCache)
first["one"] = b"first"
cache.group("folder2")["two"] = b"second"
assert list(first) == ["one"]
Expand Down
96 changes: 0 additions & 96 deletions tilebox-workflows/tests/test_google_cache_compatibility.py

This file was deleted.

Loading
Loading