forked from mirrors/nixpkgs
python310Packages.ariadne: 0.16.1 -> 0.17.0
Changelog: https://github.com/mirumee/ariadne/blob/0.17.0/CHANGELOG.md
This commit is contained in:
parent
b4232eae06
commit
be19cfc4d3
|
@ -7,6 +7,7 @@
|
|||
, pytest-asyncio
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, snapshottest
|
||||
, starlette
|
||||
, typing-extensions
|
||||
|
@ -15,13 +16,16 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "ariadne";
|
||||
version = "0.16.1";
|
||||
version = "0.17.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mirumee";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-HiIg+80vaMzQdqF2JKzP7oZzfpqSTrumXmUHGLT/wF8=";
|
||||
hash = "sha256-LRsijp2N0L4QCvPt0vWBX0qE4yqDDKtMcTBQ/eAkljA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -40,6 +44,17 @@ buildPythonPackage rec {
|
|||
werkzeug
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ariadne"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# TypeError: TestClient.request() got an unexpected keyword argument 'content'
|
||||
"test_attempt_parse_request_missing_content_type_raises_bad_request_error"
|
||||
"test_attempt_parse_non_json_request_raises_bad_request_error"
|
||||
"test_attempt_parse_non_json_request_body_raises_bad_request_error"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for implementing GraphQL servers using schema-first approach";
|
||||
homepage = "https://ariadnegraphql.org";
|
||||
|
|
Loading…
Reference in a new issue