stephenmcd / mezzanine

CMS framework for Django
http://mezzanine.jupo.org
BSD 2-Clause "Simplified" License
4.75k stars 1.64k forks source link

Django 4.0.0 compatibility #2009

Closed tswfi closed 2 years ago

tswfi commented 2 years ago

Change deprecated and removed methods in Django 4.0

Fix Signals init

Add pytz to requirements. Should migrate from pytz to zoneinfo at some point

Still a WIP. There are few tests that fail with 4.0 but I want to see what happens with the CI and if there are other things that might require attention.

Also gets the filebrowser_safe from my branch that is already 4.0 compatible TODO: this must be switched back as soon as upstream has merged my patch. Also should probably get the package from pypi not from the master branch in git.

Fixes: #2008 and #2007

tswfi commented 2 years ago

https://github.com/stephenmcd/mezzanine/blob/a2fa5c8d96ac6e0a724d214135c5581cae1c8b52/.github/workflows/main.yml#L91 should probably be removed from the on push / pr and another "deploy" workflow be implemented for just the master branch?

jerivas commented 2 years ago

Great work @tswfi!

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 5.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: