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

Updates Django from 3.2.18 --> 5.0.3. Updates all dependencies to the latest available. #178

Merged
merged 5 commits into from
Mar 20, 2024

Conversation

penguinzephyr
Copy link
Contributor

Updated Django to 5.0.3 which should close known vulnerabilities. Additionally, updated all dependencies and made some small code tweaks to deal with breaking changes from this.

This has not been heavily tested, however it does compile and run on my ubuntu 22.0.4 test VM, and transmissions are being ingested and appearing automatically. Administration appears to work also.

If a user is updating an existing installation, an extra ./migrate.py collectstatic --noinput is required after upgrading Django to generate the appropriate CSS/JS files.

Bumps up all requirements to their latest versions.
Adds 'allauth.account.middleware.AccountMiddleware' to Middleware section to keep the latest allauth dependency happy.
Updates urls.py to use re_path instead of url.
Updates ugettext to gettext as per latest dependency.
@dreinhold
Copy link
Contributor

Thank you very much for pushing this in.

@dreinhold dreinhold merged commit 874216f into ScanOC:master Mar 20, 2024
1 check failed
@penguinzephyr
Copy link
Contributor Author

Seems like the CI failed due to using Python 3.9 - Not sure if you can update it to use 3.10 instead - Django 5.x wont run on anything under 3.10.

Thanks for merging and for an awesome product!

@dreinhold
Copy link
Contributor

dreinhold commented Mar 20, 2024 via email

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

Successfully merging this pull request may close these issues.

2 participants