public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pymdown-extensions] f44: Fix tests with Pygments 2.19
@ 2026-11-08 9:10 Mattia Verga
0 siblings, 0 replies; only message in thread
From: Mattia Verga @ 2026-11-08 9:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pymdown-extensions
Branch : f44
Commit : df10322d066eb211d62f84e7bfd467d8a12ac4b3
Author : Mattia Verga <mattia.verga@proton.me>
Date : 2026-11-08T10:09:50+01:00
Stats : +34/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-pymdown-extensions/c/df10322d066eb211d62f84e7bfd467d8a12ac4b3?branch=f44
Log:
Fix tests with Pygments 2.19
---
diff --git a/pygments_f44.patch b/pygments_f44.patch
new file mode 100644
index 0000000..601e7ad
--- /dev/null
+++ b/pygments_f44.patch
@@ -0,0 +1,33 @@
+diff -U 3 -dHrN b/tests/test_extensions/test_highlight.py c/tests/test_extensions/test_highlight.py
+--- b/tests/test_extensions/test_highlight.py 2026-11-08 10:03:41.133035675 +0100
++++ c/tests/test_extensions/test_highlight.py 2026-11-08 10:06:53.202609844 +0100
+@@ -182,7 +182,7 @@
+ ```
+ ''',
+ r'''
+- <div class="highlight"><span class="filename"><strong>Python</strong></span><pre><span></span><code><span class="gp">>>> </span><span class="kn">import</span><span class="w"> </span><span class="nn">test</span>
++ <div class="highlight"><span class="filename"><strong>Python</strong></span><pre><span></span><code><span class="gp">>>> </span><span class="kn">import</span><span class="w"> </span><span class="nn">test</span>
+ </code></pre></div>
+ ''', # noqa: E501
+ True
+diff -U 3 -dHrN b/tests/test_extensions/test_superfences.py c/tests/test_extensions/test_superfences.py
+--- b/tests/test_extensions/test_superfences.py 2026-11-08 10:03:41.133928777 +0100
++++ c/tests/test_extensions/test_superfences.py 2026-11-08 10:08:17.555647744 +0100
+@@ -131,7 +131,7 @@
+ ```
+ ''',
+ r'''
+- <div class="highlight"><span class="filename">My <strong>title</strong></span><pre><span></span><code><span class="gp">>>> </span><span class="kn">import</span><span class="w"> </span><span class="nn">test</span>
++ <div class="highlight"><span class="filename">My <strong>title</strong></span><pre><span></span><code><span class="gp">>>> </span><span class="kn">import</span><span class="w"> </span><span class="nn">test</span>
+ </code></pre></div>
+ ''', # noqa: E501
+ True
+@@ -147,7 +147,7 @@
+ ```
+ ''',
+ r'''
+- <div class="highlight"><span class="filename">My <strong>title</strong></span><pre><span></span><code><span class="gp">>>> </span><span class="kn">import</span><span class="w"> </span><span class="nn">test</span>
++ <div class="highlight"><span class="filename">My <strong>title</strong></span><pre><span></span><code><span class="gp">>>> </span><span class="kn">import</span><span class="w"> </span><span class="nn">test</span>
+ </code></pre></div>
+ ''', # noqa: E501
+ True
diff --git a/python-pymdown-extensions.spec b/python-pymdown-extensions.spec
index eb7b49b..448cd58 100644
--- a/python-pymdown-extensions.spec
+++ b/python-pymdown-extensions.spec
@@ -12,6 +12,7 @@ Source: %{pypi_source pymdown_extensions}
# Upstream tests are hardcoded vs Pygments 2.21
Patch: revert_f263972.patch
+Patch: pygments_f44.patch
BuildArch: noarch
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-08 9:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-08 9:10 [rpms/python-pymdown-extensions] f44: Fix tests with Pygments 2.19 Mattia Verga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox