Skip to content

Your lightweight open-source personal agent.

fix: install timezone data on Windows

chengyongru1a1e6666258c
diff --git a/pyproject.toml b/pyproject.toml
index 80864e57b..15863eb54 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -49,6 +49,7 @@ dependencies = [
"pyyaml>=6.0,<7.0.0",
"filelock>=3.25.2",
"packaging>=24.0",
+ "tzdata>=2025.2; sys_platform == 'win32'",
"defusedxml>=0.7.1,<1.0.0",
"pypdf>=5.0.0,<6.0.0",
"python-docx>=1.1.0,<2.0.0",
diff --git a/tests/channels/test_channel_plugins.py b/tests/channels/test_channel_plugins.py
index f2d646661..345ac6c01 100644
--- a/tests/channels/test_channel_plugins.py
+++ b/tests/channels/test_channel_plugins.py
@@ -1552,6 +1552,7 @@ def test_optional_dependency_metadata_for_enable():
):
assert not any(dep.startswith(dep_name) for dep in required)
for dependency in (
+ "tzdata>=2025.2; sys_platform == 'win32'",
"defusedxml>=0.7.1,<1.0.0",
"pypdf>=5.0.0,<6.0.0",
"python-docx>=1.1.0,<2.0.0",