Skip to content

gh-148587: Make sys.lazy_modules immutable #191564

gh-148587: Make sys.lazy_modules immutable

gh-148587: Make sys.lazy_modules immutable #191564

Triggered via pull request May 5, 2026 12:14
Status Cancelled
Total duration 5m 32s
Artifacts

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-msi
Waiting for pending jobs
Matrix: build-windows
Matrix: cifuzz
Docs  /  Doctest
4m 0s
Docs / Doctest
Docs  /  Check EPUB
2m 5s
Docs / Check EPUB
Check if Autoconf files are up to date
26s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 4s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
7s
C API Docs / Check if all C APIs are documented
iOS
4m 50s
iOS
Emscripten  /  build and test
4m 1s
Emscripten / build and test
WASI  /  build and test
4m 6s
WASI / build and test
Hypothesis tests on Ubuntu
4m 0s
Hypothesis tests on Ubuntu
Cross build Linux
4m 6s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
4s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

97 errors and 35 warnings
Docs / Check EPUB
Process completed with exit code 1.
Docs / Docs
Process completed with exit code 255.
Docs / Docs
Process completed with exit code 2.
CIFuzz / cpython3 (memory)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
CIFuzz / cpython3 (memory)
The operation was canceled.
CIFuzz / cpython3 (undefined)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
CIFuzz / cpython3 (undefined)
The operation was canceled.
CIFuzz / cpython3 (address)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
CIFuzz / cpython3 (address)
The operation was canceled.
Sanitizers / TSan (free-threading)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Sanitizers / TSan (free-threading)
The operation was canceled.
Cross build Linux
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Cross build Linux
The operation was canceled.
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.3.7)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Check if generated files are up to date
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.3.7)
The operation was canceled.
Check if generated files are up to date
The operation was canceled.
Ubuntu SSL tests (ubuntu-24.04, openssl, 1.1.1w)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Ubuntu SSL tests (ubuntu-24.04, openssl, 1.1.1w)
The operation was canceled.
Windows / Build and test (x64, switch-case)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Windows / Build and test (x64, switch-case)
The operation was canceled.
Hypothesis tests on Ubuntu
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Hypothesis tests on Ubuntu
The operation was canceled.
Address sanitizer (ubuntu-24.04)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Address sanitizer (ubuntu-24.04)
The operation was canceled.
Docs / Doctest
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Docs / Doctest
The operation was canceled.
Android (x86_64)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Android (x86_64)
The operation was canceled.
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm)
The operation was canceled.
Windows / Build and test (arm64, switch-case)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Windows / Build and test (arm64, switch-case)
The operation was canceled.
Emscripten / build and test
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Emscripten / build and test
The operation was canceled.
Sanitizers / UBSan
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Sanitizers / UBSan
The operation was canceled.
WASI / build and test
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
WASI / build and test
The operation was canceled.
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.4.5)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.4.5)
The operation was canceled.
Android (aarch64)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Android (aarch64)
The operation was canceled.
Ubuntu (free-threading) / build and test (ubuntu-24.04)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Ubuntu (free-threading) / build and test (ubuntu-24.04)
The operation was canceled.
Windows / Build and test (Win32, switch-case)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Windows / Build and test (Win32, switch-case)
The operation was canceled.
Ubuntu / build and test (ubuntu-24.04-arm)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Ubuntu / build and test (ubuntu-24.04-arm)
The operation was canceled.
Ubuntu / build and test (ubuntu-24.04)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Ubuntu / build and test (ubuntu-24.04)
The operation was canceled.
Windows (free-threading) / Build and test (arm64, switch-case)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Windows (free-threading) / Build and test (arm64, switch-case)
The operation was canceled.
Ubuntu (bolt) / build and test (ubuntu-24.04)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Ubuntu (bolt) / build and test (ubuntu-24.04)
The operation was canceled.
macOS (free-threading) / build and test (macos-26)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
macOS (free-threading) / build and test (macos-26)
The operation was canceled.
Sanitizers / TSan
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Sanitizers / TSan
The operation was canceled.
Windows / Build and test (x64, tail-call)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Windows / Build and test (x64, tail-call)
The operation was canceled.
Windows (free-threading) / Build and test (x64, tail-call)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Windows (free-threading) / Build and test (x64, tail-call)
The operation was canceled.
macOS / build and test (macos-15-intel)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
macOS / build and test (macos-15-intel)
The operation was canceled.
Windows (free-threading) / Build and test (x64, switch-case)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Windows (free-threading) / Build and test (x64, switch-case)
The operation was canceled.
macOS / build and test (macos-26)
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
macOS / build and test (macos-26)
The operation was canceled.
iOS
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
iOS
The operation was canceled.
All required checks pass
Process completed with exit code 1.
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Tests
Canceling since a higher priority waiting request for Tests-johnslavik-gh-148587-revamp-sys-lazy-modules exists
Windows / Build and test (x64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L12964
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows / Build and test (x64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L7953
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows / Build and test (x64, switch-case): Python/generated_cases.c.h#L12961
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (x64, switch-case): Python/generated_cases.c.h#L7952
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
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 (arm64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L12964
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows / Build and test (arm64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L7953
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows / Build and test (arm64, switch-case): Python/generated_cases.c.h#L12961
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (arm64, switch-case): Python/generated_cases.c.h#L7952
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L12964
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L7953
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Python/generated_cases.c.h#L12961
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Python/generated_cases.c.h#L7952
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
macOS (free-threading) / build and test (macos-26)
Already linked: /opt/homebrew/Cellar/tcl-tk/9.0.3
macOS (free-threading) / build and test (macos-26)
openssl@3.5 was installed but not linked because openssl@3 and openssl@3 are already linked. To link this version, run: brew link openssl@3.5
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 (free-threading) / build and test (macos-26)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS (free-threading) / build and test (macos-26)
xz 5.8.3 is already installed and up-to-date. To reinstall 5.8.3, run: brew reinstall xz
macOS (free-threading) / build and test (macos-26)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
macOS / build and test (macos-15-intel)
Already linked: /usr/local/Cellar/tcl-tk/9.0.3
macOS / build and test (macos-15-intel)
openssl@3.5 was installed but not linked because openssl@3 is already linked. To link this version, run: brew link openssl@3.5
macOS / build and test (macos-15-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-15-intel)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS / build and test (macos-15-intel)
xz 5.8.3 is already installed and up-to-date. To reinstall 5.8.3, run: brew reinstall xz
macOS / build and test (macos-15-intel)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
Windows (free-threading) / Build and test (x64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L12964
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L7953
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Python/generated_cases.c.h#L12961
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Python/generated_cases.c.h#L7952
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
macOS / build and test (macos-26)
Already linked: /opt/homebrew/Cellar/tcl-tk/9.0.3
macOS / build and test (macos-26)
openssl@3.5 was installed but not linked because openssl@3 and openssl@3 are already linked. To link this version, run: brew link openssl@3.5
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)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS / build and test (macos-26)
xz 5.8.3 is already installed and up-to-date. To reinstall 5.8.3, run: brew reinstall xz
macOS / build and test (macos-26)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf