Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] ZoneInfo module has a dependency on tzdata module in Windows #271

Open
nxchoople opened this issue Jul 12, 2023 · 1 comment
Open
Assignees
Labels
bug Something isn't working P1 Critical

Comments

@nxchoople
Copy link

Describe the bug
ZoneInfo uses the time zone data natively in Linux when selecting a time zone. When you use Windows, that capability isn't there and requires the tzdata module to function. If you don't install the module on Windows, then you will receive an error that ZoneInfo can't find the time zone key.

Branch/Container
master

To Reproduce
Create a job with the time zone defined on a Windows OS using Calm DSL.

Expected behavior
The job should be created without any errors when specifying the time zone.

Findings/Troubleshooting Done
ZoneInfo needs the tzdata module on Windows.

Screenshots
image

** System Configuration:**

  • OS: Windows Server 2019
  • Python: 3.11
@nxchoople nxchoople added the bug Something isn't working label Jul 12, 2023
@nxchoople
Copy link
Author

We should include the tzdata module in the requirements.txt file so that it is available when running Calm DSL natively on Windows.

@abhijeetkaurav1st abhijeetkaurav1st added the P1 Critical label Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1 Critical
Projects
None yet
Development

No branches or pull requests

2 participants