Merge pull request #112705 from r-ryantm/auto-update/python3.7-graphql-core
python37Packages.graphql-core: 3.1.2 -> 3.1.3
This commit is contained in:
commit
3fffbce8a2
|
@ -5,6 +5,7 @@
|
||||||
, iso8601
|
, iso8601
|
||||||
, graphql-core
|
, graphql-core
|
||||||
, graphql-relay
|
, graphql-relay
|
||||||
|
, promise
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytest-benchmark
|
, pytest-benchmark
|
||||||
|
@ -31,6 +32,7 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
promise
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
pytest-benchmark
|
pytest-benchmark
|
||||||
|
@ -39,6 +41,8 @@ buildPythonPackage rec {
|
||||||
snapshottest
|
snapshottest
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [ "--benchmark-disable" ];
|
||||||
|
|
||||||
pythonImportsCheck = [ "graphene" ];
|
pythonImportsCheck = [ "graphene" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
{ buildPythonPackage
|
{ buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, lib
|
, lib
|
||||||
|
, pythonOlder
|
||||||
|
|
||||||
, coveralls
|
, coveralls
|
||||||
, promise
|
, promise
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, pytest-benchmark
|
, pytest-benchmark
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, rx
|
, rx
|
||||||
|
@ -13,36 +14,21 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "graphql-core";
|
pname = "graphql-core";
|
||||||
version = "3.1.2";
|
version = "3.1.3";
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "graphql-python";
|
owner = "graphql-python";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0kvbj9dwpx8mjfj86kqx54dbz9k72ki147ssyj0ca2syvb8jm3wb";
|
sha256 = "0qy1i6vffwad74ymdsh1qjf5b6ph4z0vyxzkkc6yppwczhzmi1ps";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
promise
|
|
||||||
rx
|
|
||||||
six
|
|
||||||
];
|
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
coveralls
|
|
||||||
pytest
|
|
||||||
pytest-benchmark
|
pytest-benchmark
|
||||||
pytest-mock
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = "pytest";
|
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace 'pytest-mock==1.2' 'pytest-mock==1.13.0' \
|
|
||||||
--replace 'pytest-benchmark==3.0.0' 'pytest-benchmark==3.2.2'
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Port of graphql-js to Python";
|
description = "Port of graphql-js to Python";
|
||||||
homepage = "https://github.com/graphql-python/graphql-core";
|
homepage = "https://github.com/graphql-python/graphql-core";
|
||||||
|
|
Loading…
Reference in New Issue