Page MenuHomeSoftware Heritage

(fix ci) indexer: tests: Fix forbidden naive datetimes usage
ClosedPublic

Authored by ardumont on Mon, May 4, 11:14 AM.

Details

Summary

This currently fixes the build failures [1]

[1] https://jenkins.softwareheritage.org/job/DCIDX/job/tests/969/console

Test Plan

tox

Diff Detail

Repository
rDCIDX Metadata indexer
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont created this revision.Mon, May 4, 11:14 AM

Build is green

Patch application report for D3111 (id=11059)

Rebasing onto f613bcd59e...

Current branch diff-target is up to date.
Changes applied before test
commit ae238a678935cd5bc6d5ccb4ede2d6396080d514
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Mon May 4 11:14:01 2020 +0200

    tests: Fix forbidden naive datetimes usage
    
    This currently fixes the build failures [1]
    
    [1] https://jenkins.softwareheritage.org/job/DCIDX/job/tests/969/console

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

ardumont retitled this revision from tests: Fix forbidden naive datetimes usage to (fix ci) indexer: tests: Fix forbidden naive datetimes usage.Mon, May 4, 11:17 AM
ardumont updated this revision to Diff 11065.Mon, May 4, 12:08 PM

Remove swh.storage.utils.now use and use datetime oneliner instead

Build is green

Patch application report for D3111 (id=11065)

Rebasing onto f613bcd59e...

Current branch diff-target is up to date.
Changes applied before test
commit 2f1135cc0d65bc89cd69734a3bade4e30c040050
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Mon May 4 11:14:01 2020 +0200

    tests: Fix forbidden naive datetimes usage
    
    This currently fixes the build failures [1]
    
    [1] https://jenkins.softwareheritage.org/job/DCIDX/job/tests/969/console

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

vlorentz accepted this revision.Mon, May 4, 12:20 PM
This revision is now accepted and ready to land.Mon, May 4, 12:20 PM
This revision was automatically updated to reflect the committed changes.