Skip to content

test: use canonical IANA timezone names (fix CI on runners without legacy tz aliases) - #177

Merged
TexasCoding merged 1 commit into
mainfrom
maint/ci-canonical-timezones
Oct 27, 2026
Merged

TexasCoding merged 1 commit into
mainfrom
maint/ci-canonical-timezones

Conversation

@TexasCoding

Copy link
Copy Markdown
Owner

Since 2026-10-26 the test (3.12) and test (3.13) jobs fail on main and on every PR (including #176) with one failure: test_get_bars_since_with_pytz_timezone_object raises ZoneInfoNotFoundError: 'No time zone found with key US/Eastern'. The runner's tz database no longer resolves the legacy US/* aliases through zoneinfo. A rerun of the last green main CI (8dfb561) now fails the same way, so it's environmental, not a dependency change.

This swaps the legacy names in tests (and one docstring example) for canonical IANA names: US/Eastern to America/New_York, US/Central to America/Chicago, US/Pacific to America/Los_Angeles. No runtime behavior change, no new dependency, no release needed.

@TexasCoding
TexasCoding merged commit a62a663 into main Oct 27, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant