Skip to content

gh-150167: Prevent successful import of bz2 under lazy_imports=all if _bz2 is unavailable #209031

gh-150167: Prevent successful import of bz2 under lazy_imports=all if _bz2 is unavailable

gh-150167: Prevent successful import of bz2 under lazy_imports=all if _bz2 is unavailable #209031

Triggered via pull request September 11, 2026 13:47
Status Success
Total duration 32m 8s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
13s
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
Check if Autoconf files are up to date
2m 27s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 58s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
14s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
11m 7s
Ubuntu (installed) / build, install and test
iOS
26m 11s
iOS
Emscripten  /  build and test
21m 18s
Emscripten / build and test
WASI  /  build and test
5m 46s
WASI / build and test
Hypothesis tests on Ubuntu
10m 1s
Hypothesis tests on Ubuntu
Cross build Linux
4m 6s
Cross build Linux
Docs  /  Check EPUB
Docs / Check EPUB
Docs  /  Doctest
Docs / Doctest
Docs  /  Docs
Docs / Docs
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
5s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

7 warnings and 2 notices
Cross build Linux: Parser/lexer/string.c#L81
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
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.
Ubuntu (installed) / build, install and test: Parser/lexer/string.c#L81
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
macOS / build and test (macos-26)
`$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!
Address sanitizer (ubuntu-26.04): Parser/lexer/string.c#L81
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
macOS / build and test (macos-26-intel)
`$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.6 KB
sha256:0f6eae929695e66388caa521b8d826c85d81bd92c38e34bede1fc9efa1e2a6f3