Page MenuHomeSoftware Heritage

Bump mypy to v0.942
ClosedPublic

Authored by vlorentz on Apr 26 2022, 11:15 AM.

Details

Summary

Replaces D7643

Diff Detail

Repository
rDLDBASE Generic VCS/Package Loader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build has FAILED

Patch application report for D7656 (id=27702)

Could not rebase; Attempt merge onto c4c0a9b5aa...

Merge made by the 'recursive' strategy.
 swh/loader/core/loader.py            | 92 ++++++++++++++++++++++++++++++++++--
 swh/loader/core/metadata_fetchers.py | 47 ++++++++++++++++++
 swh/loader/core/tests/test_loader.py | 57 ++++++++++++++++++++++
 swh/loader/package/loader.py         | 38 ++-------------
 tox.ini                              |  2 +-
 5 files changed, 199 insertions(+), 37 deletions(-)
 create mode 100644 swh/loader/core/metadata_fetchers.py
Changes applied before test
commit bcbc74271d6d0defaa04188c53d8ea21ab4f683a
Merge: c4c0a9b 41ef137
Author: Jenkins user <jenkins@localhost>
Date:   Tue Apr 26 09:15:56 2022 +0000

    Merge branch 'diff-target' into HEAD

commit 41ef137e150e8e5ded5ebd0780875d303f87a34d
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Tue Apr 26 11:15:32 2022 +0200

    Bump mypy to v0.942

commit cd1c10ae5e60cd270e8456822feae809cf2e26bb
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Apr 22 14:59:07 2022 +0200

    BaseLoader: Add hook to call metadata fetchers before loading an origin
    
    This uses setuptools entrypoints to allow metadata fetchers to
    make themselves discoverable without explicitly depending on them.
    
    This commit also lifts the generic metadata loading from the base
    PackageLoader to BaseLoader

Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/740/
See console output for more information: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/740/console

Harbormaster returned this revision to the author for changes because remote builds failed.Apr 26 2022, 11:16 AM
Harbormaster failed remote builds in B28759: Diff 27702!

Build has FAILED

Triggered it back, it failed for, i believe, unrelated and flaky reasons somehow.

Build is green

Patch application report for D7656 (id=27702)

Could not rebase; Attempt merge onto c4c0a9b5aa...

Merge made by the 'recursive' strategy.
 swh/loader/core/loader.py            | 92 ++++++++++++++++++++++++++++++++++--
 swh/loader/core/metadata_fetchers.py | 47 ++++++++++++++++++
 swh/loader/core/tests/test_loader.py | 57 ++++++++++++++++++++++
 swh/loader/package/loader.py         | 38 ++-------------
 tox.ini                              |  2 +-
 5 files changed, 199 insertions(+), 37 deletions(-)
 create mode 100644 swh/loader/core/metadata_fetchers.py
Changes applied before test
commit 97dd2468411ce4a1474245c1cf8d9a0d4f027a2a
Merge: c4c0a9b 41ef137
Author: Jenkins user <jenkins@localhost>
Date:   Tue Apr 26 09:24:10 2022 +0000

    Merge branch 'diff-target' into HEAD

commit 41ef137e150e8e5ded5ebd0780875d303f87a34d
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Tue Apr 26 11:15:32 2022 +0200

    Bump mypy to v0.942

commit cd1c10ae5e60cd270e8456822feae809cf2e26bb
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Apr 22 14:59:07 2022 +0200

    BaseLoader: Add hook to call metadata fetchers before loading an origin
    
    This uses setuptools entrypoints to allow metadata fetchers to
    make themselves discoverable without explicitly depending on them.
    
    This commit also lifts the generic metadata loading from the base
    PackageLoader to BaseLoader

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

Build is green

Patch application report for D7656 (id=27707)

Could not rebase; Attempt merge onto c4c0a9b5aa...

Updating c4c0a9b..1089330
Fast-forward
 swh/loader/core/loader.py            | 92 ++++++++++++++++++++++++++++++++++--
 swh/loader/core/metadata_fetchers.py | 47 ++++++++++++++++++
 swh/loader/core/tests/test_loader.py | 57 ++++++++++++++++++++++
 swh/loader/package/loader.py         | 38 ++-------------
 tox.ini                              |  2 +-
 5 files changed, 199 insertions(+), 37 deletions(-)
 create mode 100644 swh/loader/core/metadata_fetchers.py
Changes applied before test
commit 1089330c3bd0d6bc0b8c7df7c1a93dc4fcf1d6d3
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Tue Apr 26 11:15:32 2022 +0200

    Bump mypy to v0.942

commit 584a1e4a92df9d2d44de0da1e23b3c1ec23108d9
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Apr 22 14:59:07 2022 +0200

    BaseLoader: Add hook to call metadata fetchers before loading an origin
    
    This uses setuptools entrypoints to allow metadata fetchers to
    make themselves discoverable without explicitly depending on them.
    
    This commit also lifts the generic metadata loading from the base
    PackageLoader to BaseLoader

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

This revision is now accepted and ready to land.Apr 26 2022, 11:44 AM
This revision was automatically updated to reflect the committed changes.