graphql-python / flask-graphql

Adds GraphQL support to your Flask application.
MIT License
1.32k stars 140 forks source link

Dependency conflicts with graphene>=3.0 #89

Open leeyspaul opened 2 years ago

leeyspaul commented 2 years ago

Attempting a pip install flask_graphql ends up with a dependency conflict.

Logs

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
graphql-relay 3.2.0 requires graphql-core<3.3,>=3.2, but you have graphql-core 2.3.2 which is incompatible.
graphene 3.1 requires graphql-core<3.3,>=3.1, but you have graphql-core 2.3.2 which is incompatible.
gql 3.3.0 requires graphql-core<3.3,>=3.2, but you have graphql-core 2.3.2 which is incompatible.
tejom commented 2 years ago

Is this project still maintained?

pei-lun commented 1 year ago

It seems that they integrate flask-graphql into graphql-server. I upgrade my old project to graphene v3.2.1 and use graphql-server v3.0.0b5, the project works fine so far, just remember to fix the version of markupsafe to v2.0.1.