Skip to content

[weasyprint] Add stubs for WeasyPrint 69.0 #36858

[weasyprint] Add stubs for WeasyPrint 69.0

[weasyprint] Add stubs for WeasyPrint 69.0 #36858

Triggered via pull request July 13, 2026 11:28
Status Failure
Total duration 41m 5s
Artifacts

tests.yml

on: pull_request
Check typeshed structure
13s
Check typeshed structure
mypy: Run test cases
4m 5s
mypy: Run test cases
stub_uploader tests
4m 40s
stub_uploader tests
Matrix: mypy: Check stubs
Matrix: pyright: Run test cases
Fit to window
Zoom out
Zoom in

Annotations

39 errors
pyright: Run test cases (Darwin, 3.14)
Exit code 1
pyright: Run test cases (Windows, 3.11)
Exit code 1
pyright: Run test cases (Linux, 3.14)
Exit code 1
pyright: Run test cases (Linux, 3.11)
Exit code 1
pyright: Run test cases (Windows, 3.13)
Exit code 1
pyright: Run test cases (Darwin, 3.13)
Exit code 1
pyright: Run test cases (Windows, 3.14)
Exit code 1
pyright: Run test cases (Windows, 3.12)
Exit code 1
pyright: Run test cases (Darwin, 3.11)
Exit code 1
pyright: Run test cases (Darwin, 3.12)
Exit code 1
mypy: Check stubs (darwin, 3.11)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.12)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.13)
Process completed with exit code 1.
mypy: Check stubs (linux, 3.11)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.13)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.14)
Process completed with exit code 1.
mypy: Check stubs (linux, 3.12)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.12)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.14)
Process completed with exit code 1.
mypy: Check stubs (linux, 3.10)
Process completed with exit code 1.
mypy: Check stubs (linux, 3.13)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.10)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.10)
Process completed with exit code 1.
mypy: Check stubs (linux, 3.14)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.15)
Process completed with exit code 1.
mypy: Check stubs (linux, 3.15)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.15)
Process completed with exit code 1.
pyright: Run test cases (Linux, 3.12)
Exit code 1
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L108
Expected type arguments for generic class "IO" (reportMissingTypeArgument)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L91
Expected type arguments for generic class "IO" (reportMissingTypeArgument)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L88
Expected type arguments for generic class "IO" (reportMissingTypeArgument)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L74
"PDF" is not defined (reportUndefinedVariable)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L72
Expected type arguments for generic class "IO" (reportMissingTypeArgument)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L56
Expected type arguments for generic class "IO" (reportMissingTypeArgument)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L53
Expected type arguments for generic class "IO" (reportMissingTypeArgument)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L42
Expected class but received "Literal[False]" (reportGeneralTypeIssues)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L13
Import ".text.fonts" could not be resolved (reportMissingImports)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L8
Import "csselect2" could not be resolved (reportMissingImports)
mypy: Check stubs (win32, 3.11)
Process completed with exit code 1.