1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

pythonPackages.starlette: 0.14.1 -> 0.13.8, fastapi is incompatible with 0.14.X

This commit is contained in:
Sandro Jäckel 2021-01-04 10:38:27 +01:00
parent b6cc16250e
commit 83fcae70de
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 9 additions and 7 deletions

View file

@ -10,6 +10,7 @@
, python-multipart
, pyyaml
, requests
, ujson
, aiosqlite
, databases
, pytestCheckHook
@ -21,15 +22,14 @@
buildPythonPackage rec {
pname = "starlette";
version = "0.14.1";
version = "0.13.8";
disabled = isPy27;
src = fetchFromGitHub {
owner = "encode";
repo = pname;
rev = version;
sha256 = "0s0zl0ylxc5d9666zkvbwqfhngvjd79al1y69k674i0pkq2zg50j";
sha256 = "11i0yd8cqwscixajl734g11vf8pghki11c81chzfh8ifmj6mf9jk";
};
propagatedBuildInputs = [
@ -40,18 +40,18 @@ buildPythonPackage rec {
python-multipart
pyyaml
requests
ujson
] ++ lib.optional stdenv.isDarwin [ ApplicationServices ];
checkInputs = [
aiosqlite
databases
graphene
pytestCheckHook
pytest-asyncio
pytestcov
typing-extensions
];
pytestFlagsArray = [ "--ignore=tests/test_graphql.py" ];
pythonImportsCheck = [ "starlette" ];
meta = with lib; {

View file

@ -7186,7 +7186,9 @@ in {
stack-data = callPackage ../development/python-modules/stack-data { };
starlette = callPackage ../development/python-modules/starlette { };
starlette = callPackage ../development/python-modules/starlette {
inherit (pkgs.darwin.apple_sdk.frameworks) ApplicationServices;
};
staticjinja = callPackage ../development/python-modules/staticjinja { };