diff --git a/examples/resources/base.py b/examples/resources/base.py index ad8f541..9c901a6 100644 --- a/examples/resources/base.py +++ b/examples/resources/base.py @@ -1,4 +1,4 @@ -from typing import Dict, NoReturn +from typing import Dict from cuenca_validations.errors import WrongCredsError @@ -14,12 +14,12 @@ def health_auth_check() -> Dict: @app.get('/raise_cuenca_errors') -def raise_cuenca_errors() -> NoReturn: +def raise_cuenca_errors() -> None: raise WrongCredsError('you are not lucky enough!') @app.get('/raise_fast_agave_errors') -def raise_fast_agave_errors() -> NoReturn: +def raise_fast_agave_errors() -> None: raise UnauthorizedError('nice try!') diff --git a/fast_agave/version.py b/fast_agave/version.py index 6f7f03d..937008c 100644 --- a/fast_agave/version.py +++ b/fast_agave/version.py @@ -1 +1 @@ -__version__ = '0.14.2.dev4' +__version__ = '0.14.2.dev5' diff --git a/requirements.txt b/requirements.txt index 5da83f6..f91f9c5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,10 @@ aiobotocore==2.1.0 +anyio==4.3.0 cuenca-validations==0.11.27 -fastapi==0.106.0 +fastapi==0.108.0 httpx==0.27.0 mongoengine-plus==0.1.2 python-multipart==0.0.5 -starlette==0.27.0 starlette-context==0.3.3 types-aiobotocore-sqs==2.1.0.post1 uvicorn==0.29.0 diff --git a/setup.py b/setup.py index df748bb..2ca34dd 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ 'fastapi>=0.63.0,<1.0.0', 'httpx>=0.19.0,<1.0.0', 'mongoengine-plus>=0.1.2,<1.0.0', - 'starlette>=0.14.2,<0.28.0', + 'starlette>=0.14.2,<1.0.0', 'starlette-context>=0.3.2,<0.4.0', 'uvicorn>=0.29.0,<1.0.0', ],