Skip to content
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

When will Django4.2 be supported? #8942

Closed
Yunx-x opened this issue Apr 11, 2023 · 14 comments
Closed

When will Django4.2 be supported? #8942

Yunx-x opened this issue Apr 11, 2023 · 14 comments
Milestone

Comments

@Yunx-x
Copy link

Yunx-x commented Apr 11, 2023

When my newly created Django4.2 project imports DRF, the REST_FRAMEWORK configured in settings does not take effect

@auvipy
Copy link
Member

auvipy commented Apr 11, 2023

the version was tested in CI, but not released yet. can you please try from master?

@yuanjiushao
Copy link

Same question. I am already impatient to experience the new version.

@auvipy
Copy link
Member

auvipy commented Apr 11, 2023

please don't be impatient! the new django release has some rough edges which is being ironed down. We might need to wait little bit more for a new DRF release

@Yunx-x
Copy link
Author

Yunx-x commented Apr 11, 2023

the version was tested in CI, but not released yet. can you please try from master?

OK, let me debug it carefully. Thanks!

@lamuria
Copy link

lamuria commented Apr 25, 2023

Hey @auvipy don't want to put any kind of pressure but could give some raw estimation on when we should expect DRF to support Django 4.2?

@an5t
Copy link

an5t commented Apr 25, 2023

I've updated Django from 4.1 to 4.2 in our project with DRF 3.14.0 and didn't noticed any issues so far.

@intgr
Copy link
Contributor

intgr commented Apr 26, 2023

the new django release has some rough edges which is being ironed down.

Are there any particular issues with Django 4.2 that you are aware of?

I tried searching DRF issues and pull requests but could not find anything that seemed relevant. A cursory look at searching Django's bug tracker for "rest framework" also didn't turn up any relevant issues.

@mikolajnowak97
Copy link

Hi, i've encountered a problem after update django to 4.2:

django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'rest_framework.templatetags.rest_framework': cannot import name 'parse_header' from 'django.http.multipartparser'

And as I can see in official release notes (https://docs.djangoproject.com/en/4.2/releases/4.2/):

  • The undocumented django.http.multipartparser.parse_header() function is removed. Use django.utils.http.parse_header_parameters() instead.

Will this be resolved in the latest version?

@jooola
Copy link

jooola commented Apr 26, 2023

Will this be resolved in the latest version?

This has already been fixed #8540

@mikolajnowak97
Copy link

Will this be resolved in the latest version?

This has already been fixed #8540

Thanks, my mistake. Reinstalling dependencies helped

@ebk46
Copy link

ebk46 commented May 9, 2023

Anyone have an update as to when 4.2 might be officially be supported?

@auvipy
Copy link
Member

auvipy commented May 10, 2023

can you guys please try DRF 3.14 with django 4.2.1 and report what is not working? when I added it to the CI nothing had to change TBH

@lunika
Copy link

lunika commented May 10, 2023

Hi,
I tested the app I'm working on with Django 4.2.1 and DRF 3.14 and I don't have error anymore.
With Django 4.2.0 there was some errors but it seems they fix them in django 4.2.1 in my case.

@auvipy
Copy link
Member

auvipy commented May 10, 2023

django 4.2 had some regressions which are already fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants