Skip to content

Commit 6d538d1

Browse files
authored
build: temporarily pin starlette max version (#94)
Starlette introduced a new parameter to `CORSMiddleware` in [v0.51.0](https://github.com/Kludex/starlette/releases/tag/0.51.0), which broke positional arguments order in `stac-fastapi` implementation. Temporarily pin starlette max version to `< 0.51.0` until stac-utils/stac-fastapi#882 is merged.
1 parent 2f24c2d commit 6d538d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies = [
2121
"stac-fastapi.types",
2222
"stac-pydantic==3.1.*",
2323
"brotli-asgi",
24-
"starlette",
24+
"starlette < 0.51.0",
2525
"typing_extensions",
2626
"shapely",
2727
]

0 commit comments

Comments
 (0)