Skip to content

Commit e9ad9d8

Browse files
⬆️ Update pygments requirement from <2.19 to <2.20 (#1014)
* ⬆️ Update pygments requirement from <2.19 to <2.20 Updates the requirements on [pygments](https://github.com/pygments/pygments) to permit the latest version. - [Release notes](https://github.com/pygments/pygments/releases) - [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES) - [Commits](pygments/pygments@0.5...2.19.1) --- updated-dependencies: - dependency-name: pygments dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * update --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
1 parent 8ac219a commit e9ad9d8

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ testing = [
7474
"pytest-regressions",
7575
"pytest-param-files~=0.6.0",
7676
"sphinx-pytest",
77-
"pygments<2.19", # TODO fix test regression with 2.19"
77+
"pygments<2.20", # TODO fix test regression with 2.19"
7878
]
7979
testing-docutils = [
8080
"pygments",

tests/test_sphinx/test_sphinx_builds/test_includes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ <h2>
115115
</pre>
116116
</div>
117117
</div>
118-
<pre class="code python literal-block"><small class="ln">0 </small><code data-lineno="0 "><span class="keyword">def</span> <span class="name function">a_func</span><span class="punctuation">(</span><span class="name">param</span><span class="punctuation">):</span><span class="whitespace">
118+
<pre class="code python literal-block"><small class="ln">0 </small><code data-lineno="0 "><span class="keyword">def</span><span class="whitespace"> </span><span class="name function">a_func</span><span class="punctuation">(</span><span class="name">param</span><span class="punctuation">):</span><span class="whitespace">
119119
</span></code><small class="ln">1 </small><code data-lineno="1 "><span class="whitespace"></span> <span class="name builtin">print</span><span class="punctuation">(</span><span class="name">param</span><span class="punctuation">)</span></code></pre>
120120
<div class="highlight-default notranslate">
121121
<div class="highlight">

tests/test_sphinx/test_sphinx_builds/test_includes.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
<literal_block classes="code python" source="include_code.py" xml:space="preserve">
5454
<inline classes="keyword">
5555
def
56+
<inline classes="whitespace">
5657

5758
<inline classes="name function">
5859
a_func
@@ -78,6 +79,7 @@
7879
0
7980
<inline classes="keyword">
8081
def
82+
<inline classes="whitespace">
8183

8284
<inline classes="name function">
8385
a_func

0 commit comments

Comments
 (0)