[Bug 2019237] Re: python-ansible-pygments 0.1.1-5 fails autopkgtest against pygments 2.15

Launchpad Bug Tracker 2019237 at bugs.launchpad.net
Thu May 18 05:12:02 UTC 2023


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 <olivier.gayot at canonical.com>  Thu, 11 May 2023
21:30:42 +0200

** Changed in: python-ansible-pygments (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pygments in Ubuntu.
https://bugs.launchpad.net/bugs/2019237

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

Status in pygments package in Ubuntu:
  Invalid
Status in python-ansible-pygments package in Ubuntu:
  Fix Released
Status in python-ansible-pygments package in Debian:
  Fix Released

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">=></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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pygments/+bug/2019237/+subscriptions




More information about the foundations-bugs mailing list