Repository navigation
tzdata: disable tests for now - #582069
Conversation
9cd4013 to
df02282
Compare
The now.ck check compares zones "from now on" against zonenow.tab, so it depends on the build date. Since the 2026-11-01 transitions it fails: zones America/Phoenix and America/Vancouver identical from now on zones America/Mexico_City and America/Edmonton identical from now on zones America/Jamaica and America/Winnipeg identical from now on As in NixOS#582069. See https://lists.iana.org/hyperkitty/list/[email protected]/thread/CBEK3HXYBOXGD34ZFDSF64QIDT7ZWGBB/
|
After this PR was opened, Paul Eggert himself suggests using the release timestamp for testing when it comes to situations like this and no downstream changes have been made.
Edit: above won't work, made more comments on the original issue |
Paul also attached a patch with a fix, see here: https://lists.iana.org/hyperkitty/list/[email protected]/message/WCIAEEDCPA5HT3LLJK6YQ6FH7ND5ORIK/attachment/2/0001-Revert-zonenow.tab-to-2026a-mostly.patch |
The patch just includes the fix for this particular issue and will be released in the next version of tzdata anyway, but it doesn't mitigate against future instances of this issue which may happen as more regions move to abolish DST or keep it forever. |
|
Just to make sure, this isn't fixed in 2026f, right? or rather: was this broken by 2026f? |
2026e and 2026f are both broken if tested on or after 2026-11-01, due to recent changes in DST policy in Canada. This is because some tests depend on the "current time", or the value of the |
hesiod
left a comment
There was a problem hiding this comment.
I think everyone agrees that disabling tests is not a long term fix, but let's just do that for now to make sure tzdata builds and defer deciding on the best way to work around the issue to later.
|
Successfully created backport PR for |
|
given #582577 was merged, should this be reverted? or is this still necessary / that was incomplete? |
sigh, sorry about that, I didn't realize there was actually a third PR floating around that was neither linked on the issue page nor in this PR... |
tzdata's now.ck check depends on the build date and fails since the
2026-11-01 transitions ("zones America/Phoenix and America/Vancouver
identical from now on"), which stopped the victus build on yulee. As in
NixOS/nixpkgs#582069. tzdata's output is unchanged, so CA dependents cut
off early. aliasable.nix gets the new narHash and rev; a check toggle
can't change the map.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01YAgLc4WipU4MUKdnV7af2W
See 0.
Closes #582038.
Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.