You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2021/02/09 16:13:13 UTC
[allura] 01/01: Upgrade pygments package from 2.4.2 -> 2.5.2
This is an automated email from the ASF dual-hosted git repository.
kentontaylor pushed a commit to branch kt/upgrade-pygments
in repository https://gitbox.apache.org/repos/asf/allura.git
commit a30d4b85431a571805f9369554b656078d1fdd9b
Author: Kenton Taylor <kt...@slashdotmedia.com>
AuthorDate: Tue Feb 9 15:38:24 2021 +0000
Upgrade pygments package from 2.4.2 -> 2.5.2
---
Allura/allura/tests/test_globals.py | 2 +-
requirements.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Allura/allura/tests/test_globals.py b/Allura/allura/tests/test_globals.py
index 954a15b..43e3905 100644
--- a/Allura/allura/tests/test_globals.py
+++ b/Allura/allura/tests/test_globals.py
@@ -833,7 +833,7 @@ class TestEmojis(unittest.TestCase):
output = g.markdown.convert('```html\n<p>:camel:</p>\n```')
assert_in(':camel:', output)
output = g.markdown.convert('~~~\n:camel:\n~~~')
- assert_in('<span class="p">:</span><span class="n">camel</span><span class="p">:</span>', output)
+ assert_in('<span></span><span class="err">:camel:</span>', output)
def test_markdown_commit_with_emojis(self):
output = g.markdown_commit.convert('Thumbs up emoji :+1: wow!')
diff --git a/requirements.in b/requirements.in
index 16c75c9..410a16a 100644
--- a/requirements.in
+++ b/requirements.in
@@ -32,7 +32,7 @@ PasteScript
Pillow
# profanity filter for feedback
profanityfilter==2.0.6
-Pygments
+Pygments==2.5.2
pymongo==3.10.1
Pypeline[creole,markdown,textile,rst]
pysolr==3.6.0