nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

python310Packages.ariadne: fix build

Fix the format and disable tests that require an unpackaged dependency.

authored by

Martin Weinelt and committed by
Anderson Torres
8a029042 cad29b77

+12 -1
+12 -1
pkgs/development/python-modules/ariadne/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , hatchling 4 5 , freezegun 5 6 , graphql-core 6 7 , opentracing ··· 18 17 buildPythonPackage rec { 19 18 pname = "ariadne"; 20 19 version = "0.18.1"; 21 - format = "setuptools"; 20 + format = "pyproject"; 22 21 23 22 disabled = pythonOlder "3.7"; 24 23 ··· 28 27 rev = "refs/tags/${version}"; 29 28 hash = "sha256-E7uC+l0Yjol8UPLF4CV+PN49tOUJXNUS5yYdF1oyfwU="; 30 29 }; 30 + 31 + nativeBuildInputs = [ 32 + hatchling 33 + ]; 31 34 32 35 propagatedBuildInputs = [ 33 36 graphql-core ··· 58 53 "test_attempt_parse_request_missing_content_type_raises_bad_request_error" 59 54 "test_attempt_parse_non_json_request_raises_bad_request_error" 60 55 "test_attempt_parse_non_json_request_body_raises_bad_request_error" 56 + ]; 57 + 58 + disabledTestPaths = [ 59 + # missing graphql-sync-dataloader test dep 60 + "tests/test_dataloaders.py" 61 + "tests/wsgi/test_configuration.py" 61 62 ]; 62 63 63 64 meta = with lib; {