titiler icon indicating copy to clipboard operation
titiler copied to clipboard

fastapi-slim replaces fastapi

Open n8sty opened this issue 1 year ago • 0 comments

What I am changing

Replace the fastapi dependency with fastapi-slim.

See https://github.com/tiangolo/fastapi/pull/11522 for details. My brief summary of what happened in the FastAPI project: Installing fastapi now comes along with dependencies that are helpful for development and deployment, at the expense of installing more dependencies. Since tiler applications are opinionated in their dependencies additional dependencies raise the risk of conflicts, albeit slightly. This change keeps the same dependencies that FastAPI pulls in transitively.

How I did it

Swap the dependency specification, meaning nothing would change :smile:.

How you can test it

Unit tests, standard CI should be more than enough because this result in nothing changing.

Related Issues

N/A.

n8sty avatar May 06 '24 19:05 n8sty