Repository navigation
Convert TIMESTAMPTZ to Python through zoneinfo instead of pytz - #710
Merged
evertlammerts merged 7 commits intoOct 28, 2026
Merged
Conversation
evertlammerts
enabled auto-merge
October 23, 2026 13:59
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 23, 2026
evertlammerts
enabled auto-merge
October 27, 2026 17:25
github-merge-queue
Bot
removed this pull request from the merge queue due to no response for status checks
Oct 28, 2026
evertlammerts
enabled auto-merge
October 28, 2026 11:43
evertlammerts
added a commit
that referenced
this pull request
Oct 28, 2026
Every CI test job exported the test group to a pylock.toml and installed it. uv.lock is untracked, so each job resolves afresh, and the pylock exporter downloads every wheel the index lists without a hash to compute one, for every platform of the universal resolution. The pytorch-cpu index lists torch 2.15.0's 36 wheels without hashes since this week; on 2026-10-28 four macOS Test abi3 jobs on #710, #711 and #723 died at the export, timing out on a Linux cp315 torch wheel, while every Linux and Windows job passed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fetching a TIMESTAMPTZ as a Python value needed pytz, which no dependency group declares, so a clean install failed with "Required module 'pytz' failed to import" (#406). pytz's tables end at 2037, so every DST instant from 2038 on came back one hour off (#579).
Change:
PythonObject::FromValuebuilds the value fromdatetime.timezone.utcandzoneinfo.ZoneInfo(TimeZone). The pytz import cache item and every pytz pin in pyproject, the benchmarks and the tests are gone.We throw an error instead of relying on a
pytzdependency when zoneinfo has no database (Windows without the tzdata package, or an ICU name IANA lacks such as ACT). Only this fetch path needs it, and a dependency would reach every install.