From 000169f865a9fcf66683b6a316d3474a9055f1d5 Mon Sep 17 00:00:00 2001 From: Stefano Date: Tue, 3 Dec 2019 12:24:52 +0100 Subject: [PATCH 1/2] Fix (hopefully) travis builds --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index bccff8a..34e51b5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,5 +5,5 @@ max-line-length = 160 [isort] known_first_party=graphql -[pytest] +[tool:pytest] norecursedirs = venv .tox .cache From f331f17ba2e1f2fbc1609ab8277d9e811474b932 Mon Sep 17 00:00:00 2001 From: Stefano Date: Tue, 3 Dec 2019 12:41:44 +0100 Subject: [PATCH 2/2] Pin graphql-core in test deps as well --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 17feeca..303a459 100644 --- a/tox.ini +++ b/tox.ini @@ -8,8 +8,8 @@ setenv = deps = pytest>=2.7.2 pytest-flask>=0.10.0 - graphql-core>=2.1 - graphql-server-core>=1.1 + graphql-core>=2.1,<3 + graphql-server-core>=1.1,<2 Flask>=0.10.0 pytest-cov commands =