diff --git a/inboard/types.py b/inboard/types.py index 26e2fc6..6dfd087 100644 --- a/inboard/types.py +++ b/inboard/types.py @@ -136,7 +136,7 @@ class UvicornOptions(TypedDict, total=False): limit_max_requests: int | None timeout_keep_alive: int timeout_graceful_shutdown: int | None - ssl_keyfile: str | PathLike[str] | None + ssl_keyfile: str | None ssl_certfile: str | PathLike[str] | None ssl_keyfile_password: str | None ssl_version: int diff --git a/pyproject.toml b/pyproject.toml index 63f1d46..551d5f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ classifiers = [ ] dependencies = [ "gunicorn==22.0.0", - "uvicorn==0.34.0", + "uvicorn==0.28.1", ] description = "Docker images and utilities to power your Python APIs and help you ship faster." dynamic = ["version"] @@ -56,12 +56,12 @@ tests = [ "trustme>=1.2,<2", ] uvicorn-fast = [ - "httptools>=0.6.3", + "httptools>=0.5.0", "uvloop>=0.14.0,!=0.15.0,!=0.15.1; sys_platform != 'win32' and (sys_platform != 'cygwin' and platform_python_implementation != 'PyPy')", "websockets>=10.4", ] uvicorn-standard = [ - "uvicorn[standard]==0.34.0", + "uvicorn[standard]==0.28.1", ] [project.urls]