Merge ~lvoytek/ubuntu/+source/python-django-modelcluster:fix-django4-compatibility into ubuntu/+source/python-django-modelcluster:ubuntu/devel
Proposed by
Lena Voytek
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | git-ubuntu bot | ||||
Approved revision: | not available | ||||
Merge reported by: | Lena Voytek | ||||
Merged at revision: | f9dd908618b8dfd40c7c7fc42ac72f0088feac33 | ||||
Proposed branch: | ~lvoytek/ubuntu/+source/python-django-modelcluster:fix-django4-compatibility | ||||
Merge into: | ubuntu/+source/python-django-modelcluster:ubuntu/devel | ||||
Diff against target: |
101 lines (+69/-1) 4 files modified
debian/changelog (+7/-0) debian/control (+2/-1) debian/patches/fix_test_suite_django_4plus.patch (+59/-0) debian/patches/series (+1/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
git-ubuntu bot | Approve | ||
Lucas Kanashiro (community) | Approve | ||
Canonical Server Reporter | Pending | ||
Review via email: mp+448282@code.launchpad.net |
Description of the change
Fix compatibility with Django 4 by updating a test file
PPA building against 4.2: https:/
PPA building against 3.2 (currently in Ubuntu): https:/
To post a comment you must log in.
Thanks for this MP Lena! Your patch indeed fixes the test failure, I checked the upstream code and it should also fail with Django 4:
https:/ /github. com/wagtail/ django- modelcluster/ blame/main/ tests/tests/ test_cluster_ form.py# L261
In the setup.py, there is no safeguard to avoid running it with Django 4:
https:/ /github. com/wagtail/ django- modelcluster/ blob/main/ setup.py# L21
So I think you can submit a PR already anticipating that. WDYT?