From 9a75ebcc6ca3b2b6c19500f731fb6b646bc6d244 Mon Sep 17 00:00:00 2001 From: Jonathan Kim Date: Fri, 28 Jun 2019 10:17:41 +0100 Subject: [PATCH 1/3] Pin graphql-core to <3 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 16fdc8b..05169c6 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -required_packages = ["graphql-core>=2.1", "flask>=0.7.0", "graphql-server-core>=1.1"] +required_packages = ["graphql-core>=2.1,<3", "flask>=0.7.0", "graphql-server-core>=1.1,<2"] setup( name="Flask-GraphQL", From 000169f865a9fcf66683b6a316d3474a9055f1d5 Mon Sep 17 00:00:00 2001 From: Stefano Date: Tue, 3 Dec 2019 12:24:52 +0100 Subject: [PATCH 2/3] 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 3/3] 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 =