PedroBern / django-graphql-auth

Django registration and authentication with GraphQL.

Home Page:https://django-graphql-auth.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update PyJWT to its latest version 2.3.0

btribouillet opened this issue · comments

Prerequisites

  • Is it a bug?
  • Is it a new feature?
  • Is it a a question?
  • Can you reproduce the problem?
  • Are you running the latest version?
  • Did you check for similar issues?
  • Did you perform a cursory search?

Description

django-graphql-auth should update PyJWT dependency to its latest version 2.3.0 so that it is compatible with other dependencies.

Steps to Reproduce

  1. pip install graphene-django django-graphql-auth django-graphql-jwt twilio

Twilio will be installed using the version 6.63.2 so it is compatible with the PyJWT version specified in django-graphql-auth.
But it is a bit scary as it is their official SDK, and who knows when it's gonna break.

  1. pip install "twilio==7.3.0"

Expected behavior

Installation of dependencies should not throw any errors in the console.

Actual behavior

An error should be thrown in the console

django-graphql-auth 0.3.16 requires PyJWT<2.0.0, but you have pyjwt 2.3.0 which is incompatible.

Requirements

aniso8601==7.0.0
asgiref==3.4.1
certifi==2021.10.8
charset-normalizer==2.0.7
Django==3.2.9
django-filter==21.1
django-graphql-auth==0.3.16
django-graphql-jwt==0.3.0
graphene==2.1.9
graphene-django==2.15.0
graphql-core==2.3.2
graphql-relay==2.0.1
idna==3.3
promise==2.3
psycopg2-binary==2.8.6
PyJWT==1.7.1
python-decouple==3.5
pytz==2021.3
requests==2.26.0
Rx==1.6.1
singledispatch==3.7.0
six==1.16.0
sqlparse==0.4.2
text-unidecode==1.3
twilio==6.63.2
urllib3==1.26.7

Any update on this issue?