-
Notifications
You must be signed in to change notification settings - Fork 19
Broken with graphql-core==3.0.0 #18
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
Comments
The requirements in setup.py, 'graphql-core>=2.1', and 'graphql-server-core>=1.1.1', both need a restriction "..,<3". Maybe sanic needs a restriction as well. I will try to push a release fixed release to PyPI this week. As a workaround, you can first install graphql-core<3, and then sanic-graphql. |
same error !! |
I met the same error. The version of The version 3 of the package of graphql-python/graphql-core is not backward-compatible with version 2. I haven't got time to check the solution. |
Just note, until today, the major project of graphql - graphql-python/graphene v2.1.8 - is still working with "graphql-core>=2.1,<3", while it just release a beta version 3.0.0b2 with graphql-core v3+ required. |
@jkimbo can you push a 1.2.0 release to solve this? I'm missing the permissions on PyPI, but you should be able to do that. |
@Cito done. v1.2.0 is now available on PyPi (sorry it's taken so long to do this). |
You meant now not not - thank you! Now we can also start updating this project to core v3. |
Nice to have a new release with version fixed. And one more thing - now Sanic version is fixed lower than 19, which is 20.6.3 now. If the next release can compatible with the latest Sanic version, it will be very good. |
Also, if the version of this package can be embedded as |
Good point @grammy-jiang . We’re currently in the process of merging all the server integrations into the graphql-server package (see graphql-python/graphql-server#34) so I’ve created an issue there to expose the version attribute: graphql-python/graphql-server#47 |
My code is broken after using graphql-core==3.0.0:
The text was updated successfully, but these errors were encountered: