Skip to content

Unable to get it working with django 4.2 #1144

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

Closed
samuel-andres opened this issue Apr 18, 2023 · 4 comments
Closed

Unable to get it working with django 4.2 #1144

samuel-andres opened this issue Apr 18, 2023 · 4 comments
Labels

Comments

@samuel-andres
Copy link

I'm trying to install the version 6.0.0 with django 4.2 but getting dependency problem

#0 5.267 ERROR: Cannot install -r /requirements.txt (line 11), -r /requirements.txt (line 14), -r /requirements.txt (line 2), -r /requirements.txt (line 4) and Django<4.3.0 and >=4.2.0 because these package versions have conflicting dependencies.
#0 5.267
#0 5.267 The conflict is caused by:
#0 5.267     The user requested Django<4.3.0 and >=4.2.0
#0 5.267     djangorestframework 3.14.0 depends on django>=3.0
#0 5.267     django-filter 23.1 depends on Django>=3.2
#0 5.267     django-stubs 1.16.0 depends on django
#0 5.267     djangorestframework-jsonapi 6.0.0 depends on django<4.2 and >=3.2

This is my requirements.txt file:

Django>=4.2.0,<4.3.0
djangorestframework>=3.14.0,<3.15.0
markdown>=3.4.3,<3.5.0
django-filter>=23.1.0,<23.2.0
psycopg[binary]>=3.1.8,<3.2.0

flake8>=6.0.0,<6.1.0
black>=23.3.0,<23.4.0
isort>=5.12.0,<5.13.0
mypy>=1.2.0,<1.3.0
django-stubs>=1.16.0,<1.17.0
djangorestframework-stubs>=1.10.0,<1.11.0

djangorestframework-jsonapi>=6.0.0,<6.1.0

Amazing library btw

@xulww
Copy link

xulww commented Apr 25, 2023

The current version of DRF JSON API doesn't support Django 4.2. Already there's a merged commit in the main branch that fixes this. We will have to wait for the next release. It's just a matter of time...

@sliverc
Copy link
Member

sliverc commented Apr 25, 2023

Currently, Django REST framework has not released a new version yet supporting Django 4.2 so we currently cannot release either.

See our discussion at #1142 and the open issue encode/django-rest-framework#8794

@samuel-andres
Copy link
Author

samuel-andres commented Apr 25, 2023

thanks for the feedback! should I close the issue?

@sliverc
Copy link
Member

sliverc commented Apr 25, 2023

Yep let's close it. Thanks.

@sliverc sliverc closed this as completed Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants