From d7bdf86f7ed555d7206c8e2310bb80694eb5db6d Mon Sep 17 00:00:00 2001 From: Brandon Squizzato <35474886+bsquizz@users.noreply.github.com> Date: Mon, 9 Aug 2021 12:31:13 -0400 Subject: [PATCH] Update gql to 3.0.0a6 and reset requirements (#93) --- bonfire/qontract.py | 3 +++ requirements.txt | 59 ++++++++++++++++++++++++--------------------- setup.cfg | 2 +- 3 files changed, 36 insertions(+), 28 deletions(-) diff --git a/bonfire/qontract.py b/bonfire/qontract.py index d03ea076..2baa872a 100644 --- a/bonfire/qontract.py +++ b/bonfire/qontract.py @@ -114,6 +114,9 @@ def __init__(self): transport = RequestsHTTPTransport(**transport_kwargs) self.client = GQLClient(transport=transport, fetch_schema_from_transport=True) + # info level is way too noisy for the gql client + logging.getLogger("gql").setLevel(logging.ERROR) + def get_env(self, env): """Get insights env configuration.""" for env_data in self.client.execute(ENVS_QUERY)["envs"]: diff --git a/requirements.txt b/requirements.txt index 3119ae08..6a7cc5c8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,27 +1,32 @@ -gql==3.0.0a1 -aiohttp>=3.6.2 -async-timeout>=3.0.1 -attrs>=20.2.0 -certifi>=2020.6.20 -chardet<4.0,>=2.0 -click>=7.1.2 -graphql-core>=3.1.2 -idna>=2.10 -multidict<5.0,>=4.5 -parsedatetime>=2.6 -promise>=2.3 -PyYAML>=5.3.1 -requests>=2.24.0 -Rx>=1.6.1 -setuptools-scm>=4.1.2 -sh>=1.14.0 -six>=1.15.0 -urllib3>=1.25.10 -wait-for>=1.1.4 -websockets>=8.1 -yarl>=1.5.1 -tabulate>=0.8.7 -python-dotenv>=0.15.0 -ocviapy>=0.3.2 -app-common-python>=0.1.6 -cached-property>=1.5.2 +anytree==2.8.0 +app-common-python==0.1.8 +cached-property==1.5.2 +cachetools==4.2.2 +certifi==2021.5.30 +chardet==3.0.4 +charset-normalizer==2.0.4 +click==8.0.1 +google-auth==1.34.0 +gql==3.0.0a6 +graphql-core==3.1.5 +idna==3.2 +kubernetes==17.17.0 +multidict==4.7.6 +oauthlib==3.1.1 +ocviapy==0.3.5 +parsedatetime==2.6 +pyasn1==0.4.8 +pyasn1-modules==0.2.8 +python-dateutil==2.8.2 +python-dotenv==0.19.0 +PyYAML==5.4.1 +requests==2.26.0 +requests-oauthlib==1.3.0 +rsa==4.7.2 +sh==1.14.2 +six==1.16.0 +tabulate==0.8.9 +urllib3==1.26.6 +wait-for==1.1.6 +websocket-client==1.1.1 +yarl==1.6.3 diff --git a/setup.cfg b/setup.cfg index 675d8941..56c81776 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,7 +23,7 @@ install_requires = chardet<4.0,>=2.0 multidict<5.0,>=4.5 click>=7.1.2 - gql==3.0.0a1 + gql==3.0.0a6 PyYAML requests sh