PedroBern / django-graphql-auth

Django registration and authentication with GraphQL.
https://django-graphql-auth.readthedocs.io/en/latest/
MIT License
333 stars 106 forks source link

Version conflict with django-graphql-jwt #111

Open holtergram opened 3 years ago

holtergram commented 3 years ago

Prerequisites

For more information, see the CONTRIBUTING guide.

Description

Django-GraphQL-JWT 0.3.2 requires "PyJWT >= 2.0.0" whereas this package only works with "< 2.0.0". Can you please update the requirements so I can use both packages with their latest versions?

As @ulgens has mentioned it may work with the newest release. Thanks!

Current Requirements

    "django-graphql-jwt==0.3.0",
    ...
    "PyJWT<2.0.0",
0xZakk commented 3 years ago

I'm running into this issue to - is there a work around?

holtergram commented 3 years ago

I'm running into this issue to - is there a work around?

This package is not actively maintained anymore, neither is graphene IMO.

Best workaround for me was to completely move away from graphene to strawberry which is actively maintained and developed. There is also a Django package which helps setting up basic stuff.

But there is nothing like this package for Strawberry. For me it was nonetheless the most logical thing to do.

Plus you can get a lot of help on their Discord.

All the best.

Strawberry Django