Skip to content

Incompatible with graphql-core==3.0.0 #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
crunk1 opened this issue Dec 3, 2019 · 2 comments
Closed

Incompatible with graphql-core==3.0.0 #66

crunk1 opened this issue Dec 3, 2019 · 2 comments

Comments

@crunk1
Copy link

crunk1 commented Dec 3, 2019

graphql-core 3.0.0 was just released 3 days ago and now my builds are breaking. I have had to specify graphql-core==2.2.1 in my requirements.txt to fix this. I'm guessing that the Flask-Graphql module dependencies need updated to prevent graqhql-core>=3.

Python: 3.7.5
Flask-Graphql: 2.0.0
graphql-core: 3.0.0

Truncated stack trace:

...
  File "/opt/python3.7/lib/python3.7/site-packages/flask_graphql/__init__.py", line 1, in <module>
    from .blueprint import GraphQL
  File "/opt/python3.7/lib/python3.7/site-packages/flask_graphql/blueprint.py", line 5, in <module>
    from .graphqlview import GraphQLView
  File "/opt/python3.7/lib/python3.7/site-packages/flask_graphql/graphqlview.py", line 7, in <module>
    from graphql_server import (HttpQueryError, default_format_error,
  File "/opt/python3.7/lib/python3.7/site-packages/graphql_server/__init__.py", line 5, in <module>
    from graphql import get_default_backend
ImportError: cannot import name 'get_default_backend' from 'graphql' (/opt/python3.7/lib/python3.7/site-packages/graphql/__init__.py)
@ivancarrancho
Copy link

Hi, This MR fix it
#65

@jkimbo
Copy link
Member

jkimbo commented Dec 5, 2019

Should be fixed with v2.0.1: https://github.com/graphql-python/flask-graphql/releases/tag/v2.0.1

Sorry for the delay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants