Skip to content

Commit ebe8505

Browse files
committed
update from 0.18.6
2 parents dd77323 + 0b102f3 commit ebe8505

File tree

14 files changed

+31
-21
lines changed

14 files changed

+31
-21
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
siege -C
2525
2626
- name: Start containers
27-
run: docker-compose -f "docker-compose.yml" up -d --build benchmark
27+
run: docker compose -f "docker-compose.yml" up -d --build benchmark
2828

2929
# Let's wait a bit to make sure the docker are up
3030
- name: Sleep for 10 seconds
@@ -49,7 +49,7 @@ jobs:
4949
5050
- name: Stop containers
5151
if: always()
52-
run: docker-compose -f "docker-compose.yml" down
52+
run: docker compose -f "docker-compose.yml" down
5353

5454
- name: Merge Outputs
5555
run: |

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636

3737
* Use `.as_dict()` method when passing option to rio-tiler Reader's methods to avoid parameter conflicts when using custom Readers.
3838

39+
## 0.18.6 (2024-08-27)
40+
41+
* Switch back to `fastapi` instead of `fastapi-slim` and use `>=0.109.0` version
42+
3943
## 0.18.5 (2024-07-03)
4044

4145
* Set version requirement for FastAPI to `>=0.111.0`

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ docker run --name titiler \
114114
git clone https://github.com/developmentseed/titiler.git
115115
cd titiler
116116
117-
docker-compose up --build titiler # or titiler-uvicorn
117+
docker compose up --build titiler # or titiler-uvicorn
118118
```
119119

120120
Some options can be set via environment variables, see: https://github.com/tiangolo/uvicorn-gunicorn-docker#advanced-usage

deployment/aws/lambda/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ FROM --platform=linux/amd64 public.ecr.aws/lambda/python:${PYTHON_VERSION}
44

55
WORKDIR /tmp
66

7+
# Install system dependencies to compile (numexpr)
8+
RUN yum install -y gcc-c++
9+
710
RUN python -m pip install pip -U
8-
RUN python -m pip install "titiler.application==0.18.5" "mangum>=0.10.0" "numexpr==2.10.0" -t /asset --no-binary pydantic
11+
RUN python -m pip install "titiler.application==0.18.6" "mangum>=0.10.0" -t /asset --no-binary pydantic
912

1013
# Reduce package size and remove useless files
1114
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;
@@ -14,6 +17,9 @@ RUN cd /asset && find . -type f -a -name '*.py' -print0 | xargs -0 rm -f
1417
RUN find /asset -type d -a -name 'tests' -print0 | xargs -0 rm -rf
1518
RUN rm -rdf /asset/numpy/doc/ /asset/boto3* /asset/botocore* /asset/bin /asset/geos_license /asset/Misc
1619

20+
# Remove system dependencies
21+
RUN yum remove -y gcc-c++
22+
1723
COPY lambda/handler.py /asset/handler.py
1824

1925
CMD ["echo", "hello world"]

deployment/k8s/charts/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
2-
appVersion: 0.18.5
2+
appVersion: 0.18.6
33
description: A dynamic Web Map tile server
44
name: titiler
55
version: 1.1.2

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ classifiers = [
2929
"Programming Language :: Python :: 3.12",
3030
"Topic :: Scientific/Engineering :: GIS",
3131
]
32-
version="0.18.5"
32+
version="0.18.6"
3333
dependencies = [
34-
"titiler.core==0.18.5",
35-
"titiler.extensions==0.18.5",
36-
"titiler.mosaic==0.18.5",
37-
"titiler.application==0.18.5",
34+
"titiler.core==0.18.6",
35+
"titiler.extensions==0.18.6",
36+
"titiler.mosaic==0.18.6",
37+
"titiler.application==0.18.6",
3838
]
3939

4040
[project.urls]
@@ -126,7 +126,7 @@ filterwarnings = [
126126
bypass-selection = true
127127

128128
[tool.bumpversion]
129-
current_version = "0.18.5"
129+
current_version = "0.18.6"
130130
parse = """(?x)
131131
(?P<major>\\d+)\\.
132132
(?P<minor>\\d+)\\.

src/titiler/application/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ classifiers = [
3131
]
3232
dynamic = ["version"]
3333
dependencies = [
34-
"titiler.core==0.18.5",
35-
"titiler.extensions[cogeo,stac]==0.18.5",
36-
"titiler.mosaic==0.18.5",
34+
"titiler.core==0.18.6",
35+
"titiler.extensions[cogeo,stac]==0.18.6",
36+
"titiler.mosaic==0.18.6",
3737
"starlette-cramjam>=0.3,<0.4",
3838
"pydantic-settings~=2.0",
3939
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""titiler.application"""
22

3-
__version__ = "0.18.5"
3+
__version__ = "0.18.6"

src/titiler/core/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ classifiers = [
3131
]
3232
dynamic = ["version"]
3333
dependencies = [
34-
"fastapi-slim>=0.111.0",
34+
"fastapi>=0.108.0",
3535
"geojson-pydantic>=1.0,<2.0",
3636
"jinja2>=2.11.2,<4.0.0",
3737
"numpy",

src/titiler/core/titiler/core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""titiler.core"""
22

3-
__version__ = "0.18.5"
3+
__version__ = "0.18.6"
44

55
from . import dependencies, errors, factory, routing # noqa
66
from .factory import ( # noqa

0 commit comments

Comments
 (0)