From 18b34d8e744ef47cbac3ee11c98bb86622856f9b Mon Sep 17 00:00:00 2001 From: Kesara Rathnayake Date: Thu, 20 Oct 2022 06:51:00 +1300 Subject: [PATCH] test: Fix PDF tests (#920) --- .github/workflows/checks.yml | 6 +++--- tox.ini | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 9091931bb..d70d8ff78 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -90,7 +90,7 @@ jobs: echo "Installing pip + wheel..." python -m pip install --upgrade pip wheel echo "Installing requirements.txt + test dependencies..." - python -m pip install -r requirements.txt tox tox-gh-actions certifi decorator dict2xml pyflakes "PyPDF2>=2.6.0" "weasyprint>=53.0" + python -m pip install -r requirements.txt tox tox-gh-actions certifi decorator dict2xml pyflakes "PyPDF2>=2.6.0" "weasyprint>=53.0,<57.0" - name: Generate Valid Tests run: | @@ -151,7 +151,7 @@ jobs: echo "Installing pip + wheel..." python -m pip install --upgrade pip wheel echo "Installing requirements.txt + test dependencies..." - python -m pip install -r requirements.txt tox tox-gh-actions certifi decorator dict2xml pyflakes "PyPDF2>=2.6.0" "weasyprint>=53.0" + python -m pip install -r requirements.txt tox tox-gh-actions certifi decorator dict2xml pyflakes "PyPDF2>=2.6.0" "weasyprint>=53.0,<57.0" - name: Generate Valid Tests run: | @@ -201,7 +201,7 @@ jobs: # echo "Installing pip + wheel..." # python -m pip install --upgrade pip wheel # echo "Installing requirements.txt + test dependencies..." -# python -m pip install -r requirements.txt tox tox-gh-actions certifi decorator dict2xml pyflakes "PyPDF2>=2.6.0" "weasyprint>=53.0" +# python -m pip install -r requirements.txt tox tox-gh-actions certifi decorator dict2xml pyflakes "PyPDF2>=2.6.0" "weasyprint>=53.0,<57.0" # - name: Generate Valid Tests # run: | # make yestests || true diff --git a/tox.ini b/tox.ini index 9cfa109c1..2bd97276b 100644 --- a/tox.ini +++ b/tox.ini @@ -33,4 +33,4 @@ deps = decorator dict2xml pypdf2>=2.6.0 - weasyprint>=53.0 + weasyprint>=53.0,<57.0