Page MenuHomeSoftware Heritage

Add support for Django 4.x
ClosedPublic

Authored by anlambert on Tue, Jul 12, 2:05 PM.

Details

Summary

Replace use of django.conf.urls.url by django.urls.re_path.

Fix inbound_email appplication name.

Add a small hack to ensure django-js-reverse compatibility
with django 4.x (issue fixed upstream but not released).

These changes fix the debian unstable build of swh-web.

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D8115 (id=29308)

Rebasing onto 4e388ee956...

Current branch diff-target is up to date.
Changes applied before test
commit fcd4837e9b707e70a577b59fb2fb814530602986
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Jun 21 11:22:08 2022 +0200

    Add support for Django 4.x
    
    Replace use of django.conf.urls.url by django.urls.re_path.
    
    Fix inbound_email appplication name.
    
    Add a small hack to ensure django-js-reverse compatibility
    with django 4.x (issue fixed upstream but not released).

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1922/ for more details.

This revision is now accepted and ready to land.Tue, Jul 12, 2:25 PM

Build is green

Patch application report for D8115 (id=29318)

Rebasing onto 78024a5cad...

Current branch diff-target is up to date.
Changes applied before test
commit b80d078ee1a1dceb585f78b4596b0c37b02c92e0
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Jun 21 11:22:08 2022 +0200

    Add support for Django 4.x
    
    Replace use of django.conf.urls.url by django.urls.re_path.
    
    Fix inbound_email appplication name.
    
    Add a small hack to ensure django-js-reverse compatibility
    with django 4.x (issue fixed upstream but not released).

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1925/ for more details.

This revision was automatically updated to reflect the committed changes.