python3Packages.fastapi: don't pin starlette

This commit is contained in:
Jonathan Ringer 2020-05-11 11:43:40 -07:00 committed by Jon
parent 24cf81696f
commit 37d3bd1af7

View File

@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "fastapi";
version = "0.54.0";
version = "0.54.1";
format = "flit";
disabled = !isPy3k;
@ -24,9 +24,14 @@ buildPythonPackage rec {
owner = "tiangolo";
repo = "fastapi";
rev = version;
sha256 = "17bicrpr801z71wrn9iimvh7qk6iwyxvr89ialf0s2rxxa2s0yb5";
sha256 = "0k0lss8x6lzf0szcli48v28r269fsx1jdkr9q78liz47dz5x03d8";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "starlette ==0.13.2" "starlette"
'';
propagatedBuildInputs = [
uvicorn
starlette