Menu

#470 Test failures with Pygments >= 2.13.0

closed-fixed
nobody
None
5
2023-05-10
2023-05-09
Jakub Kulik
No

Since Pygments 2.13.0, I am seeing several test failures most likely related to changes in white space handling. The test log is attached.

1 Attachments

Discussion

  • Günter Milde

    Günter Milde - 2023-05-10

    Thank you for reporting.
    There was a fix for Pygments >= 2.14 in [r9354].
    Could you test if the problem persists with Docutils 0.20?
    (I am afraid, yes.)

     

    Related

    Commit: [r9354]

  • Jakub Kulik

    Jakub Kulik - 2023-05-10

    The issues are gone, Thanks!

    Sorry, I missed [r9354] when looking for potential fix, but with just released Docutils 0.20 and Pygments 2.15.1, I see no test issues.

     

    Related

    Commit: [r9354]

  • Günter Milde

    Günter Milde - 2023-05-10

    Still, we need to check the results for Docutils 0.20 and Pygments 2.13
    (and possibly just skip the tests if the Pygments version is 2.13)
    because it seems that 2.13 already introduced a change to whitespace handling that was superseded in 2.14 with another change.

     
  • Jakub Kulik

    Jakub Kulik - 2023-05-10

    I just tried running the Docutils test suite with each Pygments version since 2.12.0, and it passes in all cases. So this can be closed as fixed in 0.20.

     
  • Günter Milde

    Günter Milde - 2023-05-10
    • status: open --> closed-fixed
     
  • Günter Milde

    Günter Milde - 2023-05-10

    Fixed in Docutils 0.20.
    Thanks for testing.

     

Log in to post a comment.

MongoDB Logo MongoDB