Page MenuHomeSoftware Heritage

deposit.urls: Retro-compatibility fix about import and type conflict
ClosedPublic

Authored by ardumont on Feb 26 2021, 11:56 AM.

Details

Summary

We now type this module with django version which allows us to.

This fixes the debian buster build [1]

[1] https://jenkins.softwareheritage.org/job/debian/job/packages/job/DDEP/job/gbp-buildpackage/94/consoleFull

Closes T3072

Diff Detail

Repository
rDDEP Push deposit
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 D5153 (id=18432)

Rebasing onto ce5c76c732...

Current branch diff-target is up to date.
Changes applied before test
commit 02b0a5b2b574d5ac6c56b1f151983968ce7c3a82
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Feb 26 11:36:23 2021 +0100

    deposit.urls: Retro-compatibility fix about import and type conflict
    
    We now type this module with django version which allows us to.
    
    This fixes the debian buster build [1]
    
    [1] https://jenkins.softwareheritage.org/job/debian/job/packages/job/DDEP/job/gbp-buildpackage/94/consoleFull
    
    Closes T3072

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

vlorentz added a subscriber: vlorentz.
vlorentz added inline comments.
swh/deposit/urls.py
20
This revision is now accepted and ready to land.Feb 26 2021, 12:01 PM

rework comment according to suggestion

Build is green

Patch application report for D5153 (id=18433)

Rebasing onto ce5c76c732...

Current branch diff-target is up to date.
Changes applied before test
commit 8b66a7c45be20b40163b8343eb0979ed81806a0b
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Feb 26 11:36:23 2021 +0100

    deposit.urls: Retro-compatibility fix about import and type conflict
    
    We now type this module with django version which allows us to.
    
    This fixes the debian buster build [1]
    
    [1] https://jenkins.softwareheritage.org/job/debian/job/packages/job/DDEP/job/gbp-buildpackage/94/consoleFull
    
    Closes T3072

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