From 387f6486100919522961845b68acc11add4d133f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 3 Jan 2022 01:45:51 +0100 Subject: [PATCH] m.htmlsanity: update tests for Pyphen 0.10+. I like the output less, but what can I do. Not in my power to change. The only relevant difference in the changelog from Pyphen 0.9.5 to 0.10 is a dictionary update, so I guess that's what did it. Shrug. --- package/ci/circleci.yml | 4 +--- .../htmlsanity_typography/article-jumbo.html | 8 +++---- .../htmlsanity_typography/article-lang.html | 6 ++--- .../author-an-author.html | 8 +++---- .../category-a-category.html | 8 +++---- .../test/htmlsanity_typography/page-lang.html | 2 +- .../m/test/htmlsanity_typography/page.html | 24 +++++++++---------- .../tag-tagging-a-name.html | 8 +++---- .../article.html | 12 +++++----- .../author-an-author.html | 8 +++---- .../category-a-category.html | 8 +++---- .../tag-a-tag.html | 8 +++---- 12 files changed, 51 insertions(+), 53 deletions(-) diff --git a/package/ci/circleci.yml b/package/ci/circleci.yml index 79398acf..b81c7f56 100644 --- a/package/ci/circleci.yml +++ b/package/ci/circleci.yml @@ -54,8 +54,6 @@ commands: steps: - run: name: Install Python dependencies - # Pyphen 0.10 has significantly different hyphenation results, staying - # on an older version until I can investigate # Matplotlib 3.4.1 has different output AGAIN, staying on something # older until I can investigate; on Py3.5 there's only 3.0 so this is # being set explicitly in py36 and py37 build @@ -66,7 +64,7 @@ commands: # Docutils 0.18 drops some attribute that htmlsanity relies on, I need # to update the code first. command: | - pip install jinja2 docutils==0.17.1 pygments==2.9.0 pelican Pyphen==0.9.5 Pillow coverage codecov qrcode matplotlib<< parameters.matplotlib-version >> << parameters.extra >> + pip install jinja2 docutils==0.17.1 pygments==2.9.0 pelican Pyphen Pillow coverage codecov qrcode matplotlib<< parameters.matplotlib-version >> << parameters.extra >> - run: name: Fix unheard-of cursed issues # otherwise i get Error: unsupported locale setting diff --git a/plugins/m/test/htmlsanity_typography/article-jumbo.html b/plugins/m/test/htmlsanity_typography/article-jumbo.html index 6fec9280..669cdd74 100644 --- a/plugins/m/test/htmlsanity_typography/article-jumbo.html +++ b/plugins/m/test/htmlsanity_typography/article-jumbo.html @@ -47,7 +47,7 @@
-

Ar­ti­cle con­tent.

+

Art­icle con­tent.

@@ -56,7 +56,7 @@
-

Ar­ti­cle con­tent.

+

Art­icle con­tent.

@@ -72,7 +72,7 @@