Skip to content

Commit

Permalink
pin zarr package to >2.0,<3.0 [backported 0.20.1]
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Jan 9, 2025
1 parent 2446903 commit 01894f4
Show file tree
Hide file tree
Showing 14 changed files with 30 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: '3.x'

- name: Set up chart-testing
uses: helm/[email protected]
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release Notes

## 0.19.3 (2025-01-09)

### titiler.xarray

* pin python `zarr` to `>2,<3.0` to avoid zarr 3.0 breaking changes [Backported from 0.20.1]

## 0.19.2 (2024-11-28)

### Misc
Expand Down
2 changes: 1 addition & 1 deletion deployment/aws/lambda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /tmp
RUN yum install -y gcc-c++

RUN python -m pip install pip -U
RUN python -m pip install "titiler.application==0.19.2" "mangum>=0.10.0" -t /asset --no-binary pydantic
RUN python -m pip install "titiler.application==0.19.3" "mangum>=0.10.0" -t /asset --no-binary pydantic

# Reduce package size and remove useless files
RUN cd /asset && find . -type f -name '*.pyc' | while read f; do n=$(echo $f | sed 's/__pycache__\///' | sed 's/.cpython-[0-9]*//'); cp $f $n; done;
Expand Down
2 changes: 1 addition & 1 deletion deployment/k8s/charts/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: 0.19.2
appVersion: 0.19.3
description: A dynamic Web Map tile server
name: titiler
version: 1.1.6
Expand Down
14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: GIS",
]
version="0.19.2"
version="0.19.3"
dependencies = [
"titiler.core==0.19.2",
"titiler.xarray==0.19.2",
"titiler.extensions==0.19.2",
"titiler.mosaic==0.19.2",
"titiler.application==0.19.2",
"titiler.core==0.19.3",
"titiler.xarray==0.19.3",
"titiler.extensions==0.19.3",
"titiler.mosaic==0.19.3",
"titiler.application==0.19.3",
]

[project.urls]
Expand Down Expand Up @@ -127,7 +127,7 @@ filterwarnings = [
bypass-selection = true

[tool.bumpversion]
current_version = "0.19.2"
current_version = "0.19.3"
parse = """(?x)
(?P<major>\\d+)\\.
(?P<minor>\\d+)\\.
Expand Down
6 changes: 3 additions & 3 deletions src/titiler/application/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ classifiers = [
]
dynamic = ["version"]
dependencies = [
"titiler.core==0.19.2",
"titiler.extensions[cogeo,stac]==0.19.2",
"titiler.mosaic==0.19.2",
"titiler.core==0.19.3",
"titiler.extensions[cogeo,stac]==0.19.3",
"titiler.mosaic==0.19.3",
"starlette-cramjam>=0.4,<0.5",
"pydantic-settings~=2.0",
]
Expand Down
2 changes: 1 addition & 1 deletion src/titiler/application/titiler/application/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""titiler.application"""

__version__ = "0.19.2"
__version__ = "0.19.3"
2 changes: 1 addition & 1 deletion src/titiler/core/titiler/core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""titiler.core"""

__version__ = "0.19.2"
__version__ = "0.19.3"

from . import dependencies, errors, factory, routing # noqa
from .factory import ( # noqa
Expand Down
2 changes: 1 addition & 1 deletion src/titiler/extensions/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ classifiers = [
]
dynamic = ["version"]
dependencies = [
"titiler.core==0.19.2"
"titiler.core==0.19.3"
]

[project.optional-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/titiler/extensions/titiler/extensions/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""titiler.extensions"""

__version__ = "0.19.2"
__version__ = "0.19.3"

from .cogeo import cogValidateExtension # noqa
from .stac import stacExtension # noqa
Expand Down
2 changes: 1 addition & 1 deletion src/titiler/mosaic/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ classifiers = [
]
dynamic = ["version"]
dependencies = [
"titiler.core==0.19.2",
"titiler.core==0.19.3",
"cogeo-mosaic>=8.0,<9.0",
]

Expand Down
2 changes: 1 addition & 1 deletion src/titiler/mosaic/titiler/mosaic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""titiler.mosaic"""

__version__ = "0.19.2"
__version__ = "0.19.3"

from . import errors, factory # noqa
from .factory import MosaicTilerFactory # noqa
8 changes: 4 additions & 4 deletions src/titiler/xarray/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,23 @@ classifiers = [
]
dynamic = ["version"]
dependencies = [
"titiler.core==0.19.2",
"titiler.core==0.19.3",
"rio-tiler>=7.2,<8.0",
"xarray",
"rioxarray",
]

[project.optional-dependencies]
full = [
"zarr",
"zarr>=2,<3",
"h5netcdf",
"fsspec",
"s3fs",
"aiohttp",
"gcsfs",
]
minimal = [
"zarr",
"zarr>=2,<3",
"h5netcdf",
"fsspec",
]
Expand All @@ -64,7 +64,7 @@ test = [
"pytest-cov",
"pytest-asyncio",
"httpx",
"zarr",
"zarr>=2,<3",
"h5netcdf",
"fsspec",
]
Expand Down
2 changes: 1 addition & 1 deletion src/titiler/xarray/titiler/xarray/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""titiler.xarray"""

__version__ = "0.19.2"
__version__ = "0.19.3"

0 comments on commit 01894f4

Please sign in to comment.