FS#66833 - [python-graphene] broken, not compatible with current python-graphql-core version
Attached to Project:
Community Packages
Opened by Filipe Laíns (FFY00) - Friday, 29 May 2020, 21:05 GMT
Last edited by Maxime Gauduin (Alucryd) - Saturday, 30 May 2020, 13:35 GMT
Opened by Filipe Laíns (FFY00) - Friday, 29 May 2020, 21:05 GMT
Last edited by Maxime Gauduin (Alucryd) - Saturday, 30 May 2020, 13:35 GMT
|
Details
>>> import graphene
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.8/site-packages/graphene/__init__.py", line 3, in <module> from .types import ( File "/usr/lib/python3.8/site-packages/graphene/types/__init__.py", line 2, in <module> from graphql import ResolveInfo ImportError: cannot import name 'ResolveInfo' from 'graphql' (/usr/lib/python3.8/site-packages/graphql/__init__.py) |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Saturday, 30 May 2020, 13:35 GMT
Reason for closing: Fixed
Additional comments about closing: 3.0.0b2-1
Saturday, 30 May 2020, 13:35 GMT
Reason for closing: Fixed
Additional comments about closing: 3.0.0b2-1
Comment by
Maxime Gauduin (Alucryd) - Friday,
29 May 2020, 21:29 GMT
Comment by Filipe Laíns (FFY00) -
Friday, 29 May 2020, 21:34 GMT
Comment by
Maxime Gauduin (Alucryd) -
Saturday, 30 May 2020, 13:35 GMT
Shoot, I don't really want to downgrade graphql-core. I'll
probably package the latest beta of graphene, but I have no idea
how it plays with starlette.
Just run the tests (relevant tests: test_graphql.py).
Starlette does not have any tests for graphql unfortunately, but
at least importing the GraphQLApp works, hopefully graphene 3 is
API compatible. I've bumped graphene to the latest beta, final
release shouldn't be that far off.