python3Packages.starlette: 0.27.0 -> 0.31.1

This commit is contained in:
Martin Weinelt 2023-09-15 14:07:11 +02:00
parent cbe4ff66fb
commit 96889ae749

View file

@ -22,7 +22,7 @@
buildPythonPackage rec {
pname = "starlette";
version = "0.27.0";
version = "0.31.1";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -31,18 +31,13 @@ buildPythonPackage rec {
owner = "encode";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-qT3ZJQY5l1K88llJdKoSkwHvfcWwjH6JysMnHYGknqw=";
hash = "sha256-Tq414cEpXX8MQDR0KYyB+J7lFqorbiwP/sGnUFvs7wA=";
};
nativeBuildInputs = [
hatchling
];
postPatch = ''
# remove coverage arguments to pytest
sed -i '/--cov/d' setup.cfg
'';
propagatedBuildInputs = [
anyio
itsdangerous
@ -79,6 +74,7 @@ buildPythonPackage rec {
meta = with lib; {
changelog = "https://github.com/encode/starlette/releases/tag/${version}";
downloadPage = "https://github.com/encode/starlette";
homepage = "https://www.starlette.io/";
description = "The little ASGI framework that shines";
license = licenses.bsd3;