python-ansible-pygments 0.1.1-5 fails autopkgtest against pygments 2.15

Bug #2019237 reported by Olivier Gayot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pygments (Ubuntu)
Invalid
Undecided
Unassigned
python-ansible-pygments (Debian)
Fix Released
Unknown
python-ansible-pygments (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Traceback (most recent call last):
  File "/home/olivier/dev/canonical/ansible-pygments/tests/lexer_test.py", line 131, in <module>
    test_ansible_output_lexer()
  File "/home/olivier/dev/canonical/ansible-pygments/tests/lexer_test.py", line 78, in test_ansible_output_lexer
    assert result == R"""<div class="highlight"><pre><span></span><span class="k">ok</span><span class="p">:</span> <span class="p">[</span><span class="nv">windows</span><span class="p">]</span> <span class="p">=&gt;</span> <span class="p">{</span>
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError

This also fails in Debian: https://ci.debian.net/packages/p/python-ansible-pygments/

I opened a bug upstream: https://github.com/ansible-community/ansible-pygments/issues/33

Olivier Gayot (ogayot)
tags: added: update-excuse
Revision history for this message
Olivier Gayot (ogayot) wrote :

Adding debdiff.

PPA build: https://launchpad.net/~ogayot/+archive/ubuntu/mantic-proposed/+build/26042253. I'll request an autopkgtest once the package is published; but autopkgtest succeeded locally.

Thanks,
Olivier

Revision history for this message
Olivier Gayot (ogayot) wrote :

(I added pygments as an affected package so that the update-excuse tag can have an effect. However there is nothing to fix in pygments proper).

Revision history for this message
Olivier Gayot (ogayot) wrote :
no longer affects: pygments (Debian)
Changed in python-ansible-pygments (Debian):
status: Unknown → New
Revision history for this message
Benjamin Drung (bdrung) wrote :
Changed in python-ansible-pygments (Ubuntu):
importance: Undecided → High
status: New → Fix Committed
Changed in pygments (Ubuntu):
status: New → Invalid
Changed in python-ansible-pygments (Debian):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-ansible-pygments - 0.1.1-6

---------------
python-ansible-pygments (0.1.1-6) unstable; urgency=medium

  * Team upload
  * Add patch from upstream to fix test suite against pygments 2.15
    Added patch:
    debian/patches/Make-lexer-test-compare-tokens.patch
    (Closes: #1035965, LP: #2019237)

 -- Olivier Gayot <email address hidden> Thu, 11 May 2023 21:30:42 +0200

Changed in python-ansible-pygments (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.