python3Packages.gql: 3.4.1 -> 3.5.0
https://github.com/graphql-python/gql/releases/tag/v3.5.0
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
{ lib
|
||||
, aiofiles
|
||||
, aiohttp
|
||||
, anyio
|
||||
, backoff
|
||||
, botocore
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, graphql-core
|
||||
, httpx
|
||||
, mock
|
||||
, parse
|
||||
, pytest-asyncio
|
||||
@@ -14,6 +16,7 @@
|
||||
, pythonOlder
|
||||
, requests
|
||||
, requests-toolbelt
|
||||
, setuptools
|
||||
, urllib3
|
||||
, vcrpy
|
||||
, websockets
|
||||
@@ -22,8 +25,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gql";
|
||||
version = "3.4.1";
|
||||
format = "setuptools";
|
||||
version = "3.5.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@@ -31,7 +34,7 @@ buildPythonPackage rec {
|
||||
owner = "graphql-python";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-/uPaRju2AJCjMCfA29IKQ4Hu71RBu/Yz8jHwk9EE1Eg=";
|
||||
hash = "sha256-jm0X+X8gQyQYn03gT14bdr79+Wd5KL9ryvrU/0VUtEU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -40,7 +43,12 @@ buildPythonPackage rec {
|
||||
"websockets>=10,<12;python_version>'3.6'"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
anyio
|
||||
backoff
|
||||
graphql-core
|
||||
yarl
|
||||
@@ -54,12 +62,13 @@ buildPythonPackage rec {
|
||||
pytest-console-scripts
|
||||
pytestCheckHook
|
||||
vcrpy
|
||||
] ++ passthru.optional-dependencies.all;
|
||||
] ++ optional-dependencies.all;
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
optional-dependencies = {
|
||||
all = [
|
||||
aiohttp
|
||||
botocore
|
||||
httpx
|
||||
requests
|
||||
requests-toolbelt
|
||||
urllib3
|
||||
@@ -68,6 +77,9 @@ buildPythonPackage rec {
|
||||
aiohttp = [
|
||||
aiohttp
|
||||
];
|
||||
httpx = [
|
||||
httpx
|
||||
];
|
||||
requests = [
|
||||
requests
|
||||
requests-toolbelt
|
||||
|
||||
Reference in New Issue
Block a user