Skip to content

fix: add tzdata dependency for Windows timezone support#177

Merged
malhotra5 merged 1 commit into
OpenHands:mainfrom
jamiechicago312:add-tzdata-dependency
Jun 9, 2026
Merged

fix: add tzdata dependency for Windows timezone support#177
malhotra5 merged 1 commit into
OpenHands:mainfrom
jamiechicago312:add-tzdata-dependency

Conversation

@jamiechicago312

Copy link
Copy Markdown
Member

Add tzdata>=2024.1 to dependencies. croniter and Python's zoneinfo require timezone data; on Windows this must be provided by the tzdata package. Without it, the scheduler crashes with ModuleNotFoundError: tzdata / ZoneInfoNotFoundError.

Per reviewer feedback on agent-canvas#1257, this dependency belongs here rather than being patched downstream.

PR #1257 on agent-canvas
That PR is already closed with zero diff — all the workaround patches were properly stripped out. No cleanup needed there.

Related context
#172 (already merged) — Fixed the Windows .venv/bin/python vs .venv/Scripts/python.exe issue
#170 — Open issue about Windows venv entrypoint (partially covered by #172)
The shared conversation you linked was the earlier session that stripped PR #1257 down to just the tzdata fix, which then got stripped further to zero based on @malhotra5's review

Co-authored-by: openhands <openhands@all-hands.dev>
@jamiechicago312 jamiechicago312 force-pushed the add-tzdata-dependency branch from 0e057da to 8f73a01 Compare June 9, 2026 19:03

@malhotra5 malhotra5 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@malhotra5 malhotra5 merged commit 15f99f8 into OpenHands:main Jun 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants