From: Vladimír Vondruš Date: Sun, 2 Jan 2022 23:59:02 +0000 (+0100) Subject: m.qr: update test files for qrcode >= 7.1. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=b1d5d7bb13daae030a20a97c6ab0ee682abec30d;p=blog.git m.qr: update test files for qrcode >= 7.1. It changed from an inline style to separate attributes. Luckily all platforms I test on have pip with 7.1 available, so I don't need to branch out even further with the test files. --- diff --git a/package/ci/circleci.yml b/package/ci/circleci.yml index 7645ba12..79398acf 100644 --- a/package/ci/circleci.yml +++ b/package/ci/circleci.yml @@ -61,14 +61,12 @@ commands: # being set explicitly in py36 and py37 build # Attrs 20.3 add some new properties that I need to ignore first, using # 19.3 instead - # New qrcode (7.3? or the older ones as well?) chages the SVG preamble - # so the current regex no longer works. I have to update it. # Pygments 2.11 (and apparently 2.10 as well) treats certain whitespace # differently, I have to update the expected output first. # 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==6.1 matplotlib<< parameters.matplotlib-version >> << parameters.extra >> + 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 >> - run: name: Fix unheard-of cursed issues # otherwise i get Error: unsupported locale setting diff --git a/plugins/m/test/qr/page-py36.html b/plugins/m/test/qr/page-py36.html index 47b954bc..0f54e218 100644 --- a/plugins/m/test/qr/page-py36.html +++ b/plugins/m/test/qr/page-py36.html @@ -24,9 +24,9 @@

m.qr

Default:

-

Large stuff inside:

-

Large stuff inside, scaled down.

- +

Large stuff inside:

+

Large stuff inside, scaled down.

+ diff --git a/plugins/m/test/qr/page-py37.html b/plugins/m/test/qr/page-py37.html index 10a9bd95..9cc637ca 100644 --- a/plugins/m/test/qr/page-py37.html +++ b/plugins/m/test/qr/page-py37.html @@ -24,9 +24,9 @@

m.qr

Default:

-

Large stuff inside:

-

Large stuff inside, scaled down.

- +

Large stuff inside:

+

Large stuff inside, scaled down.

+ diff --git a/plugins/m/test/qr/page.html b/plugins/m/test/qr/page.html index 816852b3..4cb9e2c6 100644 --- a/plugins/m/test/qr/page.html +++ b/plugins/m/test/qr/page.html @@ -24,9 +24,9 @@

m.qr

Default:

-

Large stuff inside:

-

Large stuff inside, scaled down.

- +

Large stuff inside:

+

Large stuff inside, scaled down.

+