Skip to content
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

What is the status of graphene and the related integrations regarding graphql-core-next? #954

Closed
changeling opened this issue Apr 30, 2019 · 4 comments

Comments

@changeling
Copy link

Is there some clear documentation regarding the relationship between graphql-core-next and graphene, graphene-django, etcetera? From the user perspective, things are pretty confusing right now, and digging through the various issues and discussions just seems to make it more so.

I'm looking for the canonical location to review the status of the ecosystem, and not finding it. If it doesn't exist, it would likely help a lot of folks get there heads around what's what.

@Cito
Copy link
Member

Cito commented Apr 30, 2019

@changeling The graphql-python ecosystem is undergoing a transition right now and things are still in a state of flux. Syrus Akbari, who created most of it, handed the responsibility for maintaining the projects and further development over to various people in the community. You can find the details in #884 which also has a link to a Slack channel where we are trying to coordinate everything and push things forward. If you want to engage further please join us there - every help is welcome.

Graphene and most other tools currently use graphql-core as fundament, which has been created as a Python version of the reference implementation GraphQL.js. However, it was based on version 0.6 of that library and has not been kept in sync since that, and also was created with Py2 in mind, therefore doesn't use newer features like type hints and async/await syntax. That's why I created graphql-core-next as a more modern Python-3-only version that makes use of all the new features. It is also up-to-date with the current version 14.2.1 of GraphQL.js and will be kept in sync with it in the future. The idea is to move the whole ecosystem to graphql-core-next as the new fundament. See also graphql-python/graphql-core#241.

@johndunderhill
Copy link

@Cito can you explain why it was necessary for graphql-core-next to become Python 3 only in order to bring it up-to-date with the reference implementation written in Javascript? Thanks!

@Cito
Copy link
Member

Cito commented May 14, 2019

@johndunderhill that was not necessary. I just wanted to write a cruft-free, modern port of GraphQL.js that makes use of the new Python features (see also the README regarding the goals). It would be possible to create a Py2-compatible version of graphql-core-next and in fact Syrus had already worked on that some time ago in the graphql-core/modern branch. However, currently there is nobody who wants to maintain that branch and keep it up to date, and Py2 EOL is near anway.

@stale
Copy link

stale bot commented Aug 3, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Aug 3, 2019
@stale stale bot closed this as completed Aug 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants