Skip to content

Commit

Permalink
update from main
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Mar 15, 2024
1 parent e320c68 commit 397a6e4
Show file tree
Hide file tree
Showing 13 changed files with 34 additions and 28 deletions.
6 changes: 3 additions & 3 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[bumpversion]
current_version = 0.17.1
current_version = 0.17.2
commit = True
tag = True
tag_name = {new_version}
parse =
parse =
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
((?P<pre>a|b|rc)(?P<prenum>\d+))?
serialize =
serialize =
{major}.{minor}.{patch}{pre}{prenum}
{major}.{minor}.{patch}

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.17.2 (2024-03-15)

### titiler.core

* fix OpenAPI metadata for algorithm (author @JinIgarashi, https://github.com/developmentseed/titiler/pull/797)

## 0.17.1 (2024-03-13)

* add python 3.12 support
Expand Down
2 changes: 1 addition & 1 deletion deployment/aws/lambda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM --platform=linux/amd64 public.ecr.aws/lambda/python:${PYTHON_VERSION}
WORKDIR /tmp

RUN pip install pip -U
RUN pip install "titiler.application==0.17.1" "mangum>=0.10.0" -t /asset --no-binary pydantic
RUN pip install "titiler.application==0.17.2" "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.17.1
appVersion: 0.17.2
description: A dynamic Web Map tile server
name: titiler
version: 1.1.2
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: GIS",
]
version="0.17.1"
version="0.17.2"
dependencies = [
"titiler.core==0.17.1",
"titiler.extensions==0.17.1",
"titiler.mosaic==0.17.1",
"titiler.application==0.17.1",
"titiler.core==0.17.2",
"titiler.extensions==0.17.2",
"titiler.mosaic==0.17.2",
"titiler.application==0.17.2",
]

[project.optional-dependencies]
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.17.1",
"titiler.extensions[cogeo,stac]==0.17.1",
"titiler.mosaic==0.17.1",
"titiler.core==0.17.2",
"titiler.extensions[cogeo,stac]==0.17.2",
"titiler.mosaic==0.17.2",
"starlette-cramjam>=0.3,<0.4",
"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.17.1"
__version__ = "0.17.2"
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.17.1"
__version__ = "0.17.2"

from . import dependencies, errors, factory, routing # noqa
from .factory import ( # noqa
Expand Down
18 changes: 9 additions & 9 deletions src/titiler/core/titiler/core/algorithm/dem.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ class HillShade(BaseAlgorithm):
description: str = "Create hillshade from DEM dataset."

# parameters
azimuth: int = Field(90, ge=0, lt=360)
angle_altitude: float = Field(90.0, ge=-90.0, lt=90.0)
buffer: int = Field(3, ge=0, lt=99)
azimuth: int = Field(90, ge=0, le=360)
angle_altitude: float = Field(90.0, ge=-90.0, le=90.0)
buffer: int = Field(3, ge=0, le=99)

# metadata
input_nbands: int = 1
Expand Down Expand Up @@ -69,10 +69,10 @@ class Contours(BaseAlgorithm):
description: str = "Create contours from DEM dataset."

# parameters
increment: int = Field(35, ge=0, lt=999)
thickness: int = Field(1, ge=0, lt=10)
minz: int = Field(-12000, ge=-99999, lt=99999)
maxz: int = Field(8000, ge=-99999, lt=99999)
increment: int = Field(35, ge=0, le=999)
thickness: int = Field(1, ge=0, le=10)
minz: int = Field(-12000, ge=-99999, le=99999)
maxz: int = Field(8000, ge=-99999, le=99999)

# metadata
input_nbands: int = 1
Expand Down Expand Up @@ -136,8 +136,8 @@ class TerrainRGB(BaseAlgorithm):
description: str = "Encode DEM into RGB (Mapbox Terrain RGB)."

# parameters
interval: float = Field(0.1, ge=0.0, lt=1.0)
baseval: float = Field(-10000.0, ge=-99999.0, lt=99999.0)
interval: float = Field(0.1, ge=0.0, le=1.0)
baseval: float = Field(-10000.0, ge=-99999.0, le=99999.0)

# metadata
input_nbands: int = 1
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.17.1"
"titiler.core==0.17.2"
]

[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.17.1"
__version__ = "0.17.2"

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.17.1",
"titiler.core==0.17.2",
"cogeo-mosaic>=7.0,<8.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.17.1"
__version__ = "0.17.2"

from . import errors, factory # noqa
from .factory import MosaicTilerFactory # noqa

0 comments on commit 397a6e4

Please sign in to comment.