Menu

#201 Adapt tests to Sphinx 6.0.0

None
closed-fixed
nobody
None
5
2023-05-10
2023-01-04
No

Sphinx 6.0.0 changes the format a bit, this patch fixes some tests that are broken with the latest release.

1 Attachments

Discussion

  • Günter Milde

    Günter Milde - 2023-01-10

    Thank you for the patch.
    I suppose you speak about "Pygments" (not Sphinx).
    Sphinx is not required by Docutils so the tests should be independent of the Sphinx version.

    For Pygments (which is used, if installed, without version restrictions), the tests should pass with any Pygments version (either adapting or skipping test cases that are known to fail).
    As such, the patch may fix the tests for some installations and break them for others.

     
  • Daniel Garcia Moreno

    Oh, sorry, you're right, the problem is with the latest pygments release, not Sphinx, I've messed this patch with another one.

     
  • Daniel Garcia Moreno

    This new patch should fix the issue, it has a conditional version checking to use the correct tests depending on the pygments version detected.

     

    Last edit: Daniel Garcia Moreno 2023-01-24
  • Günter Milde

    Günter Milde - 2023-04-18
    • status: open --> open-fixed
     
  • Günter Milde

    Günter Milde - 2023-04-18

    A version of the patch with Pygments-version-dependent data is now applied to the repository.

     
  • Günter Milde

    Günter Milde - 2023-05-10

    Fixed in Docutils 0.20.
    Thank you for reporting.

    (Cf. [bugs:470] for open problems with Pygments 2.13)

     
  • Günter Milde

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

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.