python3Packages.fastapi: 0.65.2 -> 0.67.0

This commit is contained in:
Daniel Wheeler 2021-07-22 15:49:28 -04:00
parent c22ab152da
commit e7cbc2ef63

View file

@ -17,14 +17,14 @@
buildPythonPackage rec {
pname = "fastapi";
version = "0.65.2";
version = "0.67.0";
format = "flit";
src = fetchFromGitHub {
owner = "tiangolo";
repo = "fastapi";
rev = version;
sha256 = "032srvbfdy02m1b664x67lkdcx6b2bd4c9a9cb176lscjk213240";
sha256 = "15zbalyib7ndcbxvf9prj0n9n6qb4bfzhmaacsjrvdmjzmqdjgw0";
};
postPatch = ''
@ -51,7 +51,11 @@ buildPythonPackage rec {
];
# disabled tests require orjson which requires rust nightly
pytestFlagsArray = [ "--ignore=tests/test_default_response_class.py" ];
# ignoring deprecation warnings to avoid test failure from
# tests/test_tutorial/test_testing/test_tutorial001.py
pytestFlagsArray = [ "--ignore=tests/test_default_response_class.py" "-W ignore::DeprecationWarning"];
disabledTests = [ "test_get_custom_response" ];
meta = with lib; {