Skip to content

Commit

Permalink
Upgrade uvicorn (#106)
Browse files Browse the repository at this point in the history
* Upgrade uvicorn

* Pin version of Azurite due to bug in upsert

A recent release of Azurite caused tests with upserts to fail due to
Azure/Azurite#1565.
  • Loading branch information
mmcfarland authored Jun 24, 2022
1 parent 61e8479 commit 3f0016b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ services:
- pc-apis-pgdata:/var/lib/postgresql/data
azurite:
container_name: pcapis-azurite
image: mcr.microsoft.com/azure-storage/azurite
image: mcr.microsoft.com/azure-storage/azurite:3.17.1
hostname: azurite
command: "azurite --silent --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost
0.0.0.0 -l /workspace"
Expand Down
4 changes: 2 additions & 2 deletions pcstac/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"stac-fastapi.types @ git+https://github.com/stac-utils/stac-fastapi/@162a1a2c324b4c2bfe3451f7ae19d7840a0e0452#egg=stac-fastapi.types&subdirectory=stac_fastapi/types",
"pccommon",
# Required due to some imports related to pypgstac CLI usage in startup script
"pypgstac[psycopg]==0.6.2",
"pypgstac[psycopg]==0.6.6",
"pystac==1.*",
]

Expand All @@ -29,7 +29,7 @@
],
# server deps
"server": [
"uvicorn[standard]>=0.12.0,<0.16.0",
"uvicorn[standard]>=0.17.0,<0.18.0",
],
}

Expand Down
2 changes: 1 addition & 1 deletion pctiler/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
],
# server deps
"server": [
"uvicorn[standard]>=0.12.0,<0.16.0",
"uvicorn[standard]>=0.17.0,<0.18.0",
],
}

Expand Down

0 comments on commit 3f0016b

Please sign in to comment.