Skip to content

Pin tzdata for Windows in the CI requirements and every zoneinfo consumer (Part of #8889) - #8892

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8889-20261121T1335Z
Nov 21, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8889-20261121T1335Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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_zone falls back to a shape-only check when no tz database exists: test_culture_config culture.zone "DID NOT RAISE"

No infrastructure flakes. At fa90edd4f ci/requirements/pytest.in had no tzdata; #8854 (merged after) added tzdata ; sys_platform == 'win32' to pytest.in, pytest.txt and test.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 zoneinfo consumer. Siblings: the two consumers above, plus the three lock files. A new test pins the win32 tzdata marker in all three requirement files and fails when a new zoneinfo importer appears that is not in the reviewed list.

Facts checked

  • git show origin/main:ci/requirements/test.txt has tzdata==2026.6 ; sys_platform == 'win32' with hashes.
  • New test passes locally (2 tests); tests/test_source_reads.py passes; ruff format --check clean.
  • Not run: a fresh Full Suite Gate on current main (the issue closes itself on the next green run).

Lessons for agents

A bare cat > file hangs Bash on stdin; write scratch files with the Write tool (already in python-test-traps.md).

Cross-repo: none.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 21, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Nov 21, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 21, 2026 14:58
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 21, 2026 15:02
@squid-shepherd
squid-shepherd Bot merged commit b0c512d into main Nov 21, 2026
87 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8889-20261121T1335Z branch November 21, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant