Skip to content

gh-162306: Reject day 0 and year 0 with a 24:00 time in datetime.fromisoformat() #221941

gh-162306: Reject day 0 and year 0 with a 24:00 time in datetime.fromisoformat()

gh-162306: Reject day 0 and year 0 with a 24:00 time in datetime.fromisoformat() #221941

Triggered via pull request December 4, 2026 05:50
Status Success
Total duration 31m 6s
Artifacts 4

build.yml

on: pull_request
Change detection  /  Create context from changed files
13s
Change detection / Create context from changed files
Matrix: build-ios
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests
Matrix: build-ubuntu
Matrix: build-windows
Matrix: cifuzz
Docs  /  Doctest
30m 40s
Docs / Doctest
Docs  /  Check EPUB
1m 58s
Docs / Check EPUB
Check if Autoconf files are up to date
32s
Check if Autoconf files are up to date
Check if generated files are up to date
5m 0s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
13s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
6m 11s
Ubuntu (installed) / build, install and test
Emscripten  /  build and test
18m 15s
Emscripten / build and test
WASI  /  build and test
5m 4s
WASI / build and test
Hypothesis tests on Ubuntu
10m 58s
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
12m 57s
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
5m 11s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
1m 50s
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, 20 warnings, and 5 notices
Docs / Check EPUB
Process completed with exit code 1.
Docs / Docs
Process completed with exit code 2.
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 (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]
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]
macOS / 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, 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 (arm64, 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 (arm64, 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 (arm64, 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, 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]
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]
Windows / 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 / 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]
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 (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 / 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]
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.
iOS (free-threading)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.

Artifacts

Produced during runtime
Name Size Digest
ASan-logs-default
2.5 KB
sha256:a15ee1f5674c068cb6e84c17e8283a57329ee5c001318b90559aeb9a13afa00b
MSan-logs-default
209 Bytes
sha256:a2636085dbf9e1bc4950fcda1fddcb096ee4c82e50716e7e1a45038f256af32a
UBSan-logs-default
1.17 KB
sha256:3f38afab592f78bbf499568f83ad5f1764f2818a858dc7f58e4a57f175e81245
html-ids-head.json.gz
134 KB
sha256:e5bc814e24b1f9c77dd15f55068cc9dbab22a005251d4f024b4c08eb9de79f1a