Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Maxime Gauduin (Alucryd) - Friday, 29 May 2020, 21:29 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.
Comment by Filipe Laíns (FFY00) - Friday, 29 May 2020, 21:34 GMT
Just run the tests (relevant tests: test_graphql.py).
Comment by Maxime Gauduin (Alucryd) - Saturday, 30 May 2020, 13:35 GMT
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.

Loading...