From 0f636f59ea1faf30567b7f79f0351ed60fd02fd4 Mon Sep 17 00:00:00 2001 From: Maxim V4S Date: Mon, 21 Oct 2024 13:13:47 +0300 Subject: [PATCH] build(fix): add uvicorn --- poetry.lock | 23 +++++++++++++++++++++-- pyproject.toml | 1 + 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index 2e89198..ecc4998 100644 --- a/poetry.lock +++ b/poetry.lock @@ -533,7 +533,7 @@ protobuf = ["protobuf (>=3.15.0)"] name = "h11" version = "0.14.0" description = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1" -optional = true +optional = false python-versions = ">=3.7" files = [ {file = "h11-0.14.0-py3-none-any.whl", hash = "sha256:e3fe4ac4b851c468cc8363d500db52c2ead036020723024a109d37346efaa761"}, @@ -1905,6 +1905,25 @@ h2 = ["h2 (>=4,<5)"] socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] zstd = ["zstandard (>=0.18.0)"] +[[package]] +name = "uvicorn" +version = "0.32.0" +description = "The lightning-fast ASGI server." +optional = false +python-versions = ">=3.8" +files = [ + {file = "uvicorn-0.32.0-py3-none-any.whl", hash = "sha256:60b8f3a5ac027dcd31448f411ced12b5ef452c646f76f02f8cc3f25d8d26fd82"}, + {file = "uvicorn-0.32.0.tar.gz", hash = "sha256:f78b36b143c16f54ccdb8190d0a26b5f1901fe5a3c777e1ab29f26391af8551e"}, +] + +[package.dependencies] +click = ">=7.0" +h11 = ">=0.8" +typing-extensions = {version = ">=4.0", markers = "python_version < \"3.11\""} + +[package.extras] +standard = ["colorama (>=0.4)", "httptools (>=0.5.0)", "python-dotenv (>=0.13)", "pyyaml (>=5.1)", "uvloop (>=0.14.0,!=0.15.0,!=0.15.1)", "watchfiles (>=0.13)", "websockets (>=10.4)"] + [[package]] name = "zipp" version = "3.20.2" @@ -1930,4 +1949,4 @@ qualibrary = ["qualibrate-core"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "0315502d1bfa8685c5bb8f0d9698852e11e96377bfbb7dec61a00a82186919dc" +content-hash = "1d25ce06eec09b26aa17c71516ea2452e7d9c3558946a8c248f71fc85253403b" diff --git a/pyproject.toml b/pyproject.toml index 73edb41..47eca22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,6 +8,7 @@ readme = "README.md" [tool.poetry.dependencies] python = "^3.9" fastapi = "^0.115.2" +uvicorn = "^0.32.0" pydantic-settings = "^2.2.1" click = "^8.1.7" tomli = { version = "^2.0.1", python = "<3.11" }