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

Version 0.3.0 fails to install on python 3.12.3/ubuntu 24.04 with latest pip #228

Open
NormanTUD opened this issue Sep 26, 2024 · 1 comment

Comments

@NormanTUD
Copy link

WARNING: Ignoring version 0.3.0 of graphql-ws since it has invalid metadata:
Requested graphql-ws<=0.3.0 from https://files.pythonhosted.org/packages/4b/32/85a8c99131149b1657347baca5528867046453272296452513da5d9d21ef/graphql_ws-0.3.0-py2.py3-none-any.whl (from ax) has invalid metadata: Expected matching RIGHT_PARENTHESIS for LEFT_PARENTHESIS, after version specifier
    graphql-core (>=2.0<3)
                 ~~~~~~^
Please use pip<24.1 if you need to use this version.

I get this error. In the metadata of the wheel, I see this:

Requires-Dist: graphql-core (>=2.0<3)

Does this really have to be there, since newer pip versions seemingly cannot handle that?

@erikwrede
Copy link
Member

Hey, this repository is for GraphQL Core, the reference implementation of the GraphQL spec. GraphQL-WS is a separate specification and, depending on your web framework and stack, provided by the graphql-ws library. That library was made for a previous version of GraphQL Core, and doesn't support v3.x yet. Hence, it is an issue to raise over there and not on the reference implementation.

Is there any specific library you are using like graphene with flask or similar? I might be able to help you find an alternative solution.

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

2 participants