-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
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? (0.3.16)
- Did you check for similar issues?
- Did you perform a cursory search?
Description
I am running Django 4.0.4 and I am unable to use the latest version of django-graphql-jwt which is 0.3.4 (which is the compatible version with Django 4.0, see this issue and this stackoverflow question for more info) because django-graphql-auth requires django-graphql-jwt==0.3.0 as seen in the following error message when I try to run pip install -r requirements.txt:
ERROR: Cannot install -r requirements.txt (line 11) and django-graphql-jwt==0.3.4 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested django-graphql-jwt==0.3.4
django-graphql-auth 0.3.16 depends on django-graphql-jwt==0.3.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
Steps to Reproduce
- Start a Django project with Django 4.0 in requirements.txt
- Add
django-graphql-jwt==0.3.4to your requirements.txt - Add the latest version of
django-graphql-authto your requirements.txt - Run
pip install -r requirements.txt
Expected behavior
Compatibility with Django 4.0 by requiring the latest version of django-graphql-jwt==0.3.4
Actual behavior
Pip install fails with the following error message:
ERROR: Cannot install -r requirements.txt (line 11) and django-graphql-jwt==0.3.4 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested django-graphql-jwt==0.3.4
django-graphql-auth 0.3.16 depends on django-graphql-jwt==0.3.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
Requirements
aniso8601==7.0.0
asgiref==3.5.1
asn1crypto==1.5.1
certifi==2021.10.8
charset-normalizer==2.0.12
dj-database-url==0.5.0
Django==4.0.4
django-cors-headers==3.11.0
django-environ==0.8.1
django-filter==21.1
django-graphql-auth==0.3.16
django-graphql-jwt==0.3.4
django-picklefield==3.0.1
graphene==3.0
graphene-django==3.0.0b7
graphql-core==3.1.7
graphql-relay==3.1.5
gunicorn==20.1.0
idna==3.3
oauthlib==3.2.0
promise==2.3
psycopg2-binary==2.9.3
PyJWT==1.7.1
pytz==2022.1
pyuwsgi==2.0.20
requests==2.27.1
requests-oauthlib==1.3.1
Rx==1.6.1
singledispatch==3.7.0
six==1.16.0
sqlparse==0.4.2
text-unidecode==1.3
tzdata==2022.1
urllib3==1.26.9
whitenoise==6.1.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels