Page MenuHomeSoftware Heritage

tests: Fix support of Dulwich < 0.20
ClosedPublic

Authored by vlorentz on Jun 29 2021, 12:25 PM.

Details

Summary

It expects the path to be a string rather than a pathlib object.

Dulwich 0.19 is in Debian buster so we need to support it.

Test Plan

It Works On My Machine ©

Diff Detail

Repository
rDVAU Software Heritage Vault
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont accepted this revision.
This revision is now accepted and ready to land.Jun 29 2021, 12:27 PM

Build is green

Patch application report for D5942 (id=21334)

Rebasing onto 066a98b61f...

Current branch diff-target is up to date.
Changes applied before test
commit 3001294b8133b40bdd3e5df4f7232f3377322608
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Tue Jun 29 12:25:43 2021 +0200

    tests: Fix support of Dulwich < 0.20
    
    It expects the path to be a string rather than a pathlib object.
    
    Dulwich 0.19 is in Debian buster so we need to support it.

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

This revision was landed with ongoing or failed builds.Jun 29 2021, 12:48 PM
This revision was automatically updated to reflect the committed changes.

Build is green

Patch application report for D5942 (id=21336)

Rebasing onto 240bf27325...

First, rewinding head to replay your work on top of it...
Fast-forwarded diff-target to base-revision-131-D5942.
Changes applied before test

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