Page MenuHomeSoftware Heritage

common/highlightjs: Fix issue with Pygments 2.7
ClosedPublic

Authored by anlambert on Mon, Sep 14, 7:22 PM.

Details

Summary

Do not override manually set mime type to language mapping with those
coming from Pygments library.

This fixes the test failure that appeared yersteday once the new release
of Pygments was deployed to PyPI.

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

anlambert created this revision.Mon, Sep 14, 7:22 PM

Build is green

Patch application report for D3943 (id=13885)

Rebasing onto 6efd8fac28...

Current branch diff-target is up to date.
Changes applied before test
commit 16ab03ab45e5a4692d47149cce995a84f588d8c2
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Mon Sep 14 19:20:43 2020 +0200

    common/highlightjs: Fix issue with Pygments 2.7
    
    Do not override manually set mime type to language mapping with those
    coming from Pygments library.

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

vlorentz accepted this revision.Tue, Sep 15, 12:03 AM
This revision is now accepted and ready to land.Tue, Sep 15, 12:03 AM
This revision was automatically updated to reflect the committed changes.