Skip to content

gh-125893: Add type check for category argument in warnings.simplefilter and warnings.filterwarning #208252

gh-125893: Add type check for category argument in warnings.simplefilter and warnings.filterwarning

gh-125893: Add type check for category argument in warnings.simplefilter and warnings.filterwarning #208252

Triggered via pull request September 4, 2026 11:38
Status Failure
Total duration 35m 4s
Artifacts 2

build.yml

on: pull_request
Change detection  /  Create context from changed files
34s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests
Matrix: build-ubuntu
Matrix: build-windows
Matrix: cifuzz
Waiting for pending jobs
Docs  /  Doctest
6m 12s
Docs / Doctest
Docs  /  Check EPUB
2m 39s
Docs / Check EPUB
Check if Autoconf files are up to date
22s
Check if Autoconf files are up to date
Check if generated files are up to date
5m 18s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
15s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
6m 38s
Ubuntu (installed) / build, install and test
iOS
20m 26s
iOS
Emscripten  /  build and test
19m 52s
Emscripten / build and test
WASI  /  build and test
5m 41s
WASI / build and test
Hypothesis tests on Ubuntu
10m 1s
Hypothesis tests on Ubuntu
Cross build Linux
5m 17s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
2m 26s
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
3s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 5 warnings, and 2 notices
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
Sanitizers / TSan (free-threading)
Process completed with exit code 2.
Windows (free-threading) / Build and test (x64, switch-case)
Process completed with exit code 3.
All required checks pass
Process completed with exit code 1.
Hypothesis tests on Ubuntu
No files were found with the provided path: /home/runner/work/cpython/cpython-builddir/.hypothesis/examples/. No artifacts will be uploaded.
macOS / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-26)
The following taps are not trusted: aws/tap Homebrew is currently ignoring formulae, casks and commands from these taps because tap trust is required. Untap them with: brew untap aws/tap Trust specific formulae, casks and commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> Whole-tap trust is broader and includes all current and future formulae, casks and commands from the listed taps. Trust whole taps with: brew trust aws/tap To disable trust checks: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release. For more information, see: https://docs.brew.sh/Tap-Trust
macOS / build and test (macos-26-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS (free-threading) / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Windows / Build and test (arm64, switch-case)
"The windows-11-arm label will migrate to use Visual Studio 2026 by default beginning September 21, 2026. For more information see https://github.com/actions/runner-images/issues/14602"
Windows (free-threading) / Build and test (arm64, switch-case)
"The windows-11-arm label will migrate to use Visual Studio 2026 by default beginning September 21, 2026. For more information see https://github.com/actions/runner-images/issues/14602"

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
1.59 KB
sha256:4d4035acf28d3d16d74d6a49f2779cb1c5c7d9a5688cf57d0f6ec262beb925c1
html-ids-head.json.gz
126 KB
sha256:e91f819961b4a150c687d8d384459fc26a73bed7d299cd4e93f9852091a261bf