Skip to content

[3.15] gh-162846: Fix test_compileall with PYTHONDONTWRITEBYTECODE or PYTHONOPTIMIZE set (GH-162847) #221421

[3.15] gh-162846: Fix test_compileall with PYTHONDONTWRITEBYTECODE or PYTHONOPTIMIZE set (GH-162847)

[3.15] gh-162846: Fix test_compileall with PYTHONDONTWRITEBYTECODE or PYTHONOPTIMIZE set (GH-162847) #221421

Triggered via pull request November 30, 2026 21:13
Status Failure
Total duration 48m 14s
Artifacts 2

build.yml

on: pull_request
Change detection  /  Create context from changed files
21s
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
Check if Autoconf files are up to date
27s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 31s
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 8s
Ubuntu (installed) / build, install and test
iOS
26m 3s
iOS
Emscripten  /  build and test
11m 22s
Emscripten / build and test
WASI  /  build and test
4m 58s
WASI / build and test
Hypothesis tests on Ubuntu
10m 46s
Hypothesis tests on Ubuntu
Cross build Linux
3m 54s
Cross build Linux
Docs  /  Check EPUB
Docs / Check EPUB
Docs  /  Doctest
Docs / Doctest
Docs  /  Docs
Docs / Docs
Check if the ABI has changed
1m 44s
Check if the ABI has changed
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

2 errors, 16 warnings, and 4 notices
Windows (free-threading) / Build and test (arm64, switch-case)
Process completed with exit code 2.
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.
Windows / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
macOS / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Windows (free-threading) / Build and test (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
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): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows / Build and test (arm64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
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 (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows / Build and test (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
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.
iOS
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.

Artifacts

Produced during runtime
Name Size Digest
MSan-logs-default
209 Bytes
sha256:874e683265ed0d92909af9e6015af2f5d7cd3f00e754a3365f2e6fee260176ea
UBSan-logs-default
1.21 KB
sha256:105f57e14f4507bab206491a179de973451cda576ccfeef85776e2147cf5cbf9