Skip to content

gh-158140: Resolve lazy submodules independently with custom import hooks #212167

gh-158140: Resolve lazy submodules independently with custom import hooks

gh-158140: Resolve lazy submodules independently with custom import hooks #212167

Triggered via pull request October 5, 2026 00:25
Status Success
Total duration 31m 45s
Artifacts 2

build.yml

on: pull_request
Change detection  /  Create context from changed files
14s
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
Docs  /  Doctest
6m 35s
Docs / Doctest
Docs  /  Check EPUB
2m 14s
Docs / Check EPUB
Check if Autoconf files are up to date
35s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 40s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
6s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
5m 55s
Ubuntu (installed) / build, install and test
iOS
24m 55s
iOS
Emscripten  /  build and test
19m 54s
Emscripten / build and test
WASI  /  build and test
4m 48s
WASI / build and test
Hypothesis tests on Ubuntu
7m 50s
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
9m 49s
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
4m 54s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
2m 15s
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
2s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 19 warnings, and 13 notices
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
Cross build Linux: Parser/lexer/string.c#L86
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
Ubuntu (installed) / build, install and test: Parser/lexer/string.c#L86
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.
Windows / Build and test (x64, tail-call): Python/import.c#L4746
'return': conversion from 'Py_ssize_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (x64, tail-call): Objects/lazyimportobject.c#L130
'return': conversion from 'Py_ssize_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Python/import.c#L4746
'return': conversion from 'Py_ssize_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Objects/lazyimportobject.c#L130
'return': conversion from 'Py_ssize_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
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!
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): Python/import.c#L4746
'return': conversion from 'Py_ssize_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (arm64, switch-case): Objects/lazyimportobject.c#L130
'return': conversion from 'Py_ssize_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Python/import.c#L4746
'return': conversion from 'Py_ssize_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Objects/lazyimportobject.c#L130
'return': conversion from 'Py_ssize_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (x64, switch-case): Python/import.c#L4746
'return': conversion from 'Py_ssize_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (x64, switch-case): Objects/lazyimportobject.c#L130
'return': conversion from 'Py_ssize_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Address sanitizer (ubuntu-26.04): Parser/lexer/string.c#L86
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
Windows (free-threading) / Build and test (x64, switch-case): Python/import.c#L4746
'return': conversion from 'Py_ssize_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Objects/lazyimportobject.c#L130
'return': conversion from 'Py_ssize_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Change detection / Create context from changed files
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
C API Docs / Check if all C APIs are documented
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Docs
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Check EPUB
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Check for removed HTML IDs / Check for removed HTML IDs
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Android (aarch64)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
macOS / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
macOS (free-threading) / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
CIFuzz / cpython3 (address)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
CIFuzz / cpython3 (memory)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
CIFuzz / cpython3 (undefined)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
iOS
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
All required checks pass
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
1.5 KB
sha256:23d8f932f2b7325498ba0528a44688700380294297c5f5102443e0dd4c80318c
html-ids-head.json.gz
130 KB
sha256:f82b2ae91b9ae4f8d265609532cdd5b485ea61e6698149540c776931e2dbdf9a