From b3028da8670cc306895b378ae9e927e51456fd68 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Mon, 9 Nov 2026 05:34:47 +0000 Subject: [PATCH] chore(deps): pin tzdata in the dev dependencies so legacy zone aliases resolve on ubuntu-26.04 runners GitHub's ubuntu-latest moved to ubuntu-26.04, whose system zone database drops the legacy links (US/Pacific, PST8PDT). zoneinfo then raises for them, so tests/test_reporting_period_date.py::test_legacy_zone_aliases_resolve_to_the_canonical_date fails on every 9.x run. Pin tzdata 2026.6 in the dev extra and the dev group, as next already does, so zoneinfo falls back to the IANA package. Co-Authored-By: Claude Opus 5.5 --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 2eb1716b3..674bbe020 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -144,6 +144,10 @@ dev = [ "pytest-asyncio>=0.21.0", "pytest-cov>=4.0.0", "pytest-xdist>=3.8,<4", + # zoneinfo falls back to IANA tzdata when the OS ships no zone database or + # drops the legacy aliases (ubuntu-26.04 runners lack ``US/Pacific``); the + # reporting period-date tests resolve those aliases. + "tzdata==2026.6", "freezegun==1.5.5", # isolated deferred-schema compatibility regressions "mypy==1.20.2", "pyright==1.1.414", # real imported-base adopter regressions @@ -446,6 +450,7 @@ dev = [ # source — and a dead-weight hook that everyone bypasses with # ``SKIP=mypy``. "mypy==1.20.2", + "tzdata==2026.6", ] [[tool.mypy.overrides]]