openwisp / django-rest-framework-gis

Geographic add-ons for Django REST Framework. Maintained by the OpenWISP Project.
http://openwisp.org
MIT License
1.07k stars 200 forks source link

Django 4.2 / DRF 3.15 compatibility #301

Closed benjaminh closed 3 weeks ago

benjaminh commented 1 month ago

Hello,

First, I would like to thank this project's contributors and maintainers, it is very useful and I was glad to find it :+1: !

I work on a web application based on Django, DRF and a few third party apps like this one. Django 3.x LTS ended on April, 2024, and the LTS version is now 4.2, so I need to upgrade my application backend.

Yet, I read on the project README that compatibility is limited to Django 4.0 and DRF 3.13 for both 0.18 and 1.0.0 versions.

Do you know what would be missing to ensure compatibility with the new Django 4.2 LTS and corresponding DRF release ? Do you know any breaking changes that could possibly prevent from using the last release of DRF-gis while upgrading Django and DRF ?

Not sure how I can help on this btw

nemesifier commented 1 month ago

I think the README is just outdated, we're using it in @openwisp which is running on Django 4.2. Go ahead and try it in your Django 4.2 project.

If you want to help you could send a PR to update the CI and README:

robinkeunen commented 1 month ago

PR #287 fixes the readme but apparently tests are broken for 4.2

nemesifier commented 3 weeks ago

Solved in https://github.com/openwisp/django-rest-framework-gis/pull/303. Thanks!