Skip to content

Commit ce25244

Browse files
committed
Install tzdata in the test environment
`ubuntu-latest` now resolves to Ubuntu 26.04, whose system zone files leave out the legacy `US/*` names that the timezone list relies on, so the suite fails at collection with "Invalid timezone US/Hawaii". `zoneinfo` falls back to the `tzdata` package for names the system does not have, which keeps the tests independent of the runner image.
1 parent 3f9e5ec commit ce25244

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tox.ini‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ python =
1111
[testenv]
1212
deps =
1313
pytest
14+
tzdata
1415
commands =
1516
pytest {posargs}
1617

0 commit comments

Comments
 (0)