python3Packages.graphene: fix build

This commit is contained in:
Fabian Affolter 2021-07-02 21:43:13 +02:00
parent 315e3cfc9a
commit e6fb1bb60e

View File

@ -25,9 +25,8 @@ buildPythonPackage rec {
sha256 = "sha256-bVCCLPnV5F8PqLMg3GwcpwpGldrxsU+WryL6gj6y338=";
};
# Allow later aniso8601 releases
# https://github.com/graphql-python/graphene/pull/1331
patches = [ (fetchpatch {
# Allow later aniso8601 releases, https://github.com/graphql-python/graphene/pull/1331
url = "https://github.com/graphql-python/graphene/commit/26b16f75b125e35eeb2274b7be503ec29f2e8a45.patch";
sha256 = "qm96pNOoxPieEy1CFZpa2Mx010pY3QU/vRyuL0qO3Tk=";
}) ];
@ -50,6 +49,11 @@ buildPythonPackage rec {
pytestFlagsArray = [ "--benchmark-disable" ];
disabledTests = [
# TypeError: Failed: DID NOT RAISE <class...
"test_unexpected_error"
];
pythonImportsCheck = [ "graphene" ];
meta = with lib; {