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

Update Django Framework from 2.2.27 to 4.2 LTS #1471

Open
chris-bateman opened this issue Feb 16, 2024 · 5 comments
Open

Update Django Framework from 2.2.27 to 4.2 LTS #1471

chris-bateman opened this issue Feb 16, 2024 · 5 comments

Comments

@chris-bateman
Copy link
Contributor

How did you install WebODM (docker, installer, etc.)?

N/A

What's your browser and operating system? (Copy/paste the output of https://www.whatismybrowser.com/)

N/A

What is the problem?

Django framework is EOL. WebODM uses 2.2.27 and the current LTS is 4.2
Placeholder issue to begin discussion on upgrading the framework.

How can we reproduce this? (What steps trigger the problem? What parameters are you using for processing? Include screenshots. If you are having issues processing a dataset, you must include a copy of your dataset uploaded on Dropbox, Google Drive or https://dronedb.app)

Review Django version here -

Django==2.2.27

4.2 LTS makes sense support-wise, but v5 is also out.

@chris-bateman
Copy link
Contributor Author

@Saijin-Naib
Copy link
Contributor

Do you know of any gotchas? API breaks?

Keeping current on supported dependencies would be wonderful.

@chris-bateman
Copy link
Contributor Author

@chris-bateman
Copy link
Contributor Author

chris-bateman commented Mar 3, 2024

I started to make a little progress on this. I am playing dependency wack a mole.
So with that in mind it might be time to audit the current modules located in this file -
https://github.com/OpenDroneMap/WebODM/blob/master/requirements.txt

The main focus is identifying packages that are deprecated/abandoned with no clear support from their maintainer/community.
Some have suitable alternatives noted in their doco but others will require some research to find a suitable replacement.

django-guardian
image

rfc3987 - Github repo was archived on the 12th Jan 2024 but moved to a new repo recently.
https://codeberg.org/atufi/rfc3987/
image

djangorestframework-jwt - Github archived
Alternatives - jpadilla/django-rest-framework-jwt#484
image

itypes - Github archived
image

django-rest-framework-guardian
image

strict-rfc3339
image

openapi-codec - Github archived
image

django-codemirror2 - After 7 years of no activity has had a few updates this year.
image

piexif
image

appdirs - Deprecated
image

@smathermather
Copy link
Contributor

This is great Chris. Anything you need to help, e.g. identifying alternatives? I would say, for anything that has a known upgrade path, feel free to upgrade and test, and send me a relevant repo to review and I'm happy to run in production on my end and help find any issues.

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

No branches or pull requests

3 participants