-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Set root-path from uvicorn Sets the root path in uvicorn to match that set via FastAPI. This is required with updates to starlette, which were included previously. Fixes microsoft/PlanetaryComputer#360 * New black formatting
- Loading branch information
1 parent
54802ba
commit 3b1e9f7
Showing
13 changed files
with
29 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
FROM pc-apis-stac | ||
|
||
|
||
RUN --mount=type=cache,target=/root/.cache \ | ||
--mount=type=bind,source=requirements-dev.txt,target=requirements-dev.txt \ | ||
pip install -r requirements-dev.txt | ||
|
||
RUN --mount=type=cache,target=/root/.cache \ | ||
pip install -e ./pccommon[dev] -e ./pcstac | ||
pip install --no-deps -e ./pccommon[dev] -e ./pcstac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""FastAPI application using PGStac.""" | ||
|
||
import logging | ||
import os | ||
from typing import Any, Dict | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
|
||
extra_reqs = { | ||
"server": [ | ||
"uvicorn[standard]>=0.17.0,<0.18.0", | ||
"uvicorn[standard]==0.30.1", | ||
], | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
black==22.3.0 | ||
black==24.4.2 | ||
flake8==3.8.4 | ||
isort==5.9.2 | ||
mypy==1.8.0 | ||
openapi-spec-validator==0.3.0 | ||
cachetools<=4.2. | ||
pytest==7.* | ||
pytest-asyncio==0.18.* | ||
httpx>=0.22.0 | ||
json-schema<4.18.0 # https://github.com/stac-utils/pystac/issues/1186 | ||
|
||
pip-tools | ||
# Mypy types | ||
types-python-dateutil | ||
types-cachetools | ||
types-python-dateutil | ||
types-redis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters