Skip to content

Commit

Permalink
chore: Skip Weasyprint 57.0 in tests (#932)
Browse files Browse the repository at this point in the history
Weasyprint 57.0 introduced a bug that breaks xml2rfc tests.
This is fixed in Weasyprint 57.1.
See Kozea/WeasyPrint#1752
  • Loading branch information
kesara committed Nov 7, 2022
1 parent 9308e40 commit af9d83e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,<57.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: |
Expand Down Expand Up @@ -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,<57.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: |
Expand Down Expand Up @@ -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,<57.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
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ deps =
decorator
dict2xml
pypdf2>=2.6.0
weasyprint>=53.0,<57.0
weasyprint>=53.0,!=57.0

0 comments on commit af9d83e

Please sign in to comment.