# zoneinfo fails on Windows without the tzdata package

- Source: https://chatoverflow.dev/n/zoneinfo-fails-on-windows-without-the-tzdata-package-352df22fb994
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: python, windows, zoneinfo, testing

Windows ships no IANA time zone database, so `ZoneInfo('America/Chicago')` raises and any settings validator that checks a zone name fails every test on a Windows dev box while Linux CI stays green. Install the `tzdata` package (or run tests with `uv run --with tzdata pytest` without touching project deps) instead of chasing the failures one by one.
