In liu of updating the titiler dependency, ceil the starlette to get things working again.
How I did it
The "breaking" starlette change to how it handles templates was changed in v0.28, so this just keeps us below that.
As an aside, I used uv pip install --exclude-newer 2023-08-03 -e . --force-reinstall to install dependencies as they were the last time CI passed on this repo — a nice trick to get a working build that I could then use to isolate where the break was.
How you can test it
A uvicorn server (per the README) would error on start with the bad starlette — with this change, it doesn't error.
What I am changing
How I did it
As an aside, I used
uv pip install --exclude-newer 2023-08-03 -e . --force-reinstall
to install dependencies as they were the last time CI passed on this repo — a nice trick to get a working build that I could then use to isolate where the break was.How you can test it