diff --git a/.github/workflows/ci-linux-ubuntu-latest.yml b/.github/workflows/ci-linux-ubuntu-latest.yml index 798a3e5..07269fd 100644 --- a/.github/workflows/ci-linux-ubuntu-latest.yml +++ b/.github/workflows/ci-linux-ubuntu-latest.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: python-version: [ - "3.9", "3.12" + "3.10", "3.14" ] steps: diff --git a/.github/workflows/ci-mac.yml b/.github/workflows/ci-mac.yml index fee7160..725ede3 100644 --- a/.github/workflows/ci-mac.yml +++ b/.github/workflows/ci-mac.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: python-version: [ - "3.9", "3.13" + "3.10", "3.13" ] steps: diff --git a/tasks.py b/tasks.py index 80f264a..732ed3a 100644 --- a/tasks.py +++ b/tasks.py @@ -151,7 +151,7 @@ def lint_mypy(context): --disable-error-code=misc --cache-dir=build/mypy --strict - --python-version=3.9 + --python-version=3.10 """, ) diff --git a/tests/integration/06_page_load_timeout_validation/test.itest b/tests/integration/06_page_load_timeout_validation/test.itest index 2289831..20ad387 100644 --- a/tests/integration/06_page_load_timeout_validation/test.itest +++ b/tests/integration/06_page_load_timeout_validation/test.itest @@ -1,3 +1,3 @@ RUN: %expect_exit 2 %html2pdf print --page-load-timeout 1000000 %S/index1.html %S/Output/index1.pdf 2>&1 | filecheck %s -CHECK: main.py print: error: argument --page-load-timeout: Must be an integer in the range [0, 600]. +CHECK: {{.*}} print: error: argument --page-load-timeout: Must be an integer in the range [0, 600]. diff --git a/tests/integration/40_sdoc_only_child_does_not_break_page_when_surrounded_by_text_nodes/test.py b/tests/integration/40_sdoc_only_child_does_not_break_page_when_surrounded_by_text_nodes/test.py index 9be4849..0730dd3 100644 --- a/tests/integration/40_sdoc_only_child_does_not_break_page_when_surrounded_by_text_nodes/test.py +++ b/tests/integration/40_sdoc_only_child_does_not_break_page_when_surrounded_by_text_nodes/test.py @@ -20,9 +20,9 @@ page2_text_normalized == """\ 1. Section 1 -Vivam us consectetur m ollis varius. Quisque posuere venenatis nulla, sit am et -pulvinar m etus vestibulum sed. Sed at libero nec justo leo. -StrictDoc Docum entation Test document +Vivamus consectetur mollis varius. Quisque posuere venenatis nulla, sit amet +pulvinar metus vestibulum sed. Sed at libero nec justo leo. +StrictDoc Documentation Test document 2025-12-21 3/4\ """ ), page2_text_normalized @@ -35,8 +35,8 @@ page3_text_normalized == """\ 2. Section 2 -L orem ipsum dolor sit am et, c -StrictDoc Docum entation Test document +Lorem ipsum dolor sit amet, c +StrictDoc Documentation Test document 2025-12-21 4/4\ """ ), page3_text_normalized