Skip to content

[weasyprint] Add stubs for WeasyPrint 69.0 #36872

[weasyprint] Add stubs for WeasyPrint 69.0

[weasyprint] Add stubs for WeasyPrint 69.0 #36872

Triggered via pull request July 13, 2026 17:48
Status Failure
Total duration 5m 2s
Artifacts

tests.yml

on: pull_request
Check typeshed structure
11s
Check typeshed structure
mypy: Run test cases
3m 14s
mypy: Run test cases
stub_uploader tests
4m 34s
stub_uploader tests
Matrix: mypy: Check stubs
Matrix: pyright: Run test cases
Fit to window
Zoom out
Zoom in

Annotations

38 errors
pyright: Run test cases (Windows, 3.11)
Exit code 1
pyright: Run test cases (Linux, 3.12)
Exit code 1
pyright: Run test cases (Windows, 3.12)
Exit code 1
pyright: Run test cases (Darwin, 3.14)
Exit code 1
pyright: Run test cases (Darwin, 3.13)
Exit code 1
pyright: Run test cases (Linux, 3.11)
Exit code 1
pyright: Run test cases (Windows, 3.14)
Exit code 1
pyright: Run test cases (Windows, 3.13)
Exit code 1
pyright: Run test cases (Linux, 3.13)
8 errors
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L137
Type "str | bytes" cannot be assigned to type variable "AnyStr@IO"   Type "str | bytes" is not assignable to constrained type variable "AnyStr@IO" (reportInvalidTypeArguments)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L134
Type "str | bytes" cannot be assigned to type variable "AnyStr@IO"   Type "str | bytes" is not assignable to constrained type variable "AnyStr@IO" (reportInvalidTypeArguments)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L125
Type "str | bytes" cannot be assigned to type variable "AnyStr@IO"   Type "str | bytes" is not assignable to constrained type variable "AnyStr@IO" (reportInvalidTypeArguments)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L108
Type "str | bytes" cannot be assigned to type variable "AnyStr@IO"   Type "str | bytes" is not assignable to constrained type variable "AnyStr@IO" (reportInvalidTypeArguments)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L105
Type "str | bytes" cannot be assigned to type variable "AnyStr@IO"   Type "str | bytes" is not assignable to constrained type variable "AnyStr@IO" (reportInvalidTypeArguments)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L89
Type "str | bytes" cannot be assigned to type variable "AnyStr@IO"   Type "str | bytes" is not assignable to constrained type variable "AnyStr@IO" (reportInvalidTypeArguments)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L73
Type "str | bytes" cannot be assigned to type variable "AnyStr@IO"   Type "str | bytes" is not assignable to constrained type variable "AnyStr@IO" (reportInvalidTypeArguments)
pyright: Run test cases (Linux, 3.13): stubs/weasyprint/weasyprint/__init__.pyi#L70
Type "str | bytes" cannot be assigned to type variable "AnyStr@IO"   Type "str | bytes" is not assignable to constrained type variable "AnyStr@IO" (reportInvalidTypeArguments)
pyright: Run test cases (Darwin, 3.12)
Exit code 1
pyright: Run test cases (Darwin, 3.11)
Exit code 1
pyright: Run test cases (Linux, 3.14)
Exit code 1
mypy: Check stubs (darwin, 3.11)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.11)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.12)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.13)
Process completed with exit code 1.
mypy: Check stubs (linux, 3.13)
Process completed with exit code 1.
mypy: Check stubs (linux, 3.14)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.14)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.14)
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 (linux, 3.12)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.10)
Process completed with exit code 1.
mypy: Check stubs (linux, 3.10)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.12)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.10)
Process completed with exit code 1.
mypy: Check stubs (win32, 3.15)
Process completed with exit code 1.
mypy: Check stubs (darwin, 3.15)
Process completed with exit code 1.
mypy: Check stubs (linux, 3.15)
Process completed with exit code 1.