python310Packages.uvicorn: 0.20.0 -> 0.23.1

This commit is contained in:
Sandro Jäckel 2023-07-18 21:49:34 +02:00 committed by Martin Weinelt
parent 39f9cc8ded
commit 802e5ab6f1
2 changed files with 6 additions and 10 deletions

View File

@ -17,8 +17,8 @@
buildPythonPackage rec {
pname = "uvicorn";
version = "0.20.0";
disabled = pythonOlder "3.7";
version = "0.23.1";
disabled = pythonOlder "3.8";
format = "pyproject";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "encode";
repo = pname;
rev = version;
hash = "sha256-yca6JI3/aqdZF7SxFeYr84GOeQnLBmbm1dIXjngX9Ng=";
hash = "sha256-X/G6K0X4G1EsMIBpvqy62zZ++8paTHNqgYLi+B7YK+0=";
};
outputs = [
@ -39,7 +39,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
click
h11
] ++ lib.optionals (pythonOlder "3.8") [
] ++ lib.optionals (pythonOlder "3.11") [
typing-extensions
];

View File

@ -1,12 +1,10 @@
{ stdenv
, buildPythonPackage
, asgiref
, a2wsgi
, uvicorn
, httpx
, pytest-asyncio
, pytestCheckHook
, pytest-mock
, requests
, trustme
, watchgod
, wsproto
@ -23,16 +21,14 @@ buildPythonPackage {
dontInstall = true;
nativeCheckInputs = [
asgiref
uvicorn
httpx
pytestCheckHook
pytest-asyncio
pytest-mock
requests
trustme
# strictly optional dependencies
a2wsgi
watchgod
wsproto
]