Skip to content

Commit 2be2e49

Browse files
committed
update titiler versions and dockerfile
1 parent 6095585 commit 2be2e49

6 files changed

Lines changed: 213 additions & 262 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
* fix: better handling of custom TMS ids in WMTS endpoints
88
* fix: CQL filter expression support in ItemSearch requests
9+
* remove: orjson (pydantic now serializes the model faster than orjson)
10+
* remove: `cacert.org` certificats updates in Docker image
911

1012
## [1.1.2] - 2026-02-12
1113

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ RUN apt update && apt upgrade -y \
77

88
# Ensure root certificates are always updated at evey container build
99
# and curl is using the latest version of them
10-
RUN mkdir /usr/local/share/ca-certificates/cacert.org
11-
RUN cd /usr/local/share/ca-certificates/cacert.org && curl -k -O https://www.cacert.org/certs/root.crt
12-
RUN cd /usr/local/share/ca-certificates/cacert.org && curl -k -O https://www.cacert.org/certs/class3.crt
10+
# RUN mkdir /usr/local/share/ca-certificates/cacert.org
11+
# RUN cd /usr/local/share/ca-certificates/cacert.org && curl -k -O https://www.cacert.org/certs/root.crt
12+
# RUN cd /usr/local/share/ca-certificates/cacert.org && curl -k -O https://www.cacert.org/certs/class3.crt
13+
# RUN update-ca-certificates
14+
# ENV CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
1315
RUN update-ca-certificates
14-
ENV CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
1516

1617
RUN python -m pip install -U pip
1718
RUN python -m pip install uvicorn uvicorn-worker gunicorn

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ classifiers = [
2323
]
2424
dynamic = ["version"]
2525
dependencies = [
26-
"orjson",
27-
"titiler.core>=1.1,<1.2",
28-
"titiler.mosaic>=1.1,<1.2",
29-
"titiler.extensions>=1.1,<1.2",
26+
"titiler.core>=1.1,<1.3",
27+
"titiler.mosaic>=1.1,<1.3",
28+
"titiler.extensions>=1.1,<1.3",
3029
"pystac-client",
3130
"pydantic>=2.4,<3.0",
3231
"pydantic-settings~=2.0",

tests/test_wmts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def test_wmts_gettile_param_override(client, item_search, rio, app):
340340
"expression": "(where(visual_invalid >= 0))",
341341
},
342342
)
343-
assert response.status_code == 500
343+
assert response.status_code == 400
344344
assert "Could not find any valid assets" in response.json()["detail"]
345345

346346
response = app.get(

titiler/stacapi/main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import rasterio
99
from fastapi import FastAPI, Query
1010
from fastapi import __version__ as fastapi_version
11-
from fastapi.responses import ORJSONResponse
1211
from morecantile import TileMatrixSets
1312
from pydantic import __version__ as pydantic_version
1413
from rio_tiler import __version__ as rio_tiler_version
@@ -213,7 +212,6 @@
213212
"/",
214213
response_model=Landing,
215214
response_model_exclude_none=True,
216-
response_class=ORJSONResponse,
217215
responses={
218216
200: {
219217
"content": {

0 commit comments

Comments
 (0)