Repository navigation
Pin tzdata for Windows in the CI requirements and every zoneinfo consumer (Part of #8889) - #8892
Merged
Merged
Conversation
…umer (Part of #8889) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
This was referenced Nov 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #8889
What failed
Full Suite Gate run 44906605305 (main
fa90edd4f): only the 5 Windows legs (3.11 and 3.12) failed, all on a missing IANA zone database (ModuleNotFoundError: tzdata):progress_report.journey_time(ZoneInfo("America/New_York")):test_progress_slide,test_progress_report,test_generated_docs(progress pages)java_target._known_zonefalls back to a shape-only check when no tz database exists:test_culture_configculture.zone"DID NOT RAISE"No infrastructure flakes. At
fa90edd4fci/requirements/pytest.inhad notzdata; #8854 (merged after) addedtzdata ; sys_platform == 'win32'topytest.in,pytest.txtandtest.txt, so main already carries the fix. This PR adds the regression guard.Class and siblings
Class: a Windows CI leg with no IANA tz database breaks (or silently weakens) every
zoneinfoconsumer. Siblings: the two consumers above, plus the three lock files. A new test pins the win32tzdatamarker in all three requirement files and fails when a newzoneinfoimporter appears that is not in the reviewed list.Facts checked
git show origin/main:ci/requirements/test.txthastzdata==2026.6 ; sys_platform == 'win32'with hashes.tests/test_source_reads.pypasses;ruff format --checkclean.Lessons for agents
A bare
cat > filehangs Bash on stdin; write scratch files with the Write tool (already in python-test-traps.md).Cross-repo: none.
🤖 Generated with Claude Code