kahemker commented on issue #46080: URL: https://github.com/apache/arrow/issues/46080#issuecomment-2796602346
Your link to the Arrow ORC C++ library helped me. When I run `pyarrow.util.download_tzdata_on_windows()` these files are downloaded and unpacked here: `%USERPROFILE%\Downloads\tzdata` ``` Directory: C:\Users\kyleh\Downloads\tzdata Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 7/1/2024 7:02 PM 63547 africa -a---- 9/30/2024 4:26 PM 14103 antarctica -a---- 3/18/2025 7:44 AM 192849 asia -a---- 11/22/2024 9:12 AM 98438 australasia -a---- 7/3/2024 7:17 AM 12039 backward -a---- 7/1/2024 7:02 PM 71327 backzone -a---- 3/31/2022 8:50 AM 5569 calendars -a---- 10/23/2022 10:07 PM 1630 checklinks.awk -a---- 12/6/2024 3:07 PM 1113 checknow.awk -a---- 11/25/2024 4:06 PM 5377 checktab.awk -a---- 8/18/2024 12:21 PM 3522 CONTRIBUTING -a---- 12/8/2024 7:52 AM 3087 etcetera -a---- 11/7/2024 1:49 PM 182354 europe -a---- 12/8/2024 7:52 AM 989 factory -a---- 9/6/2023 9:53 AM 4791 iso3166.tab -a---- 1/7/2025 6:46 AM 5069 leap-seconds.list -a---- 1/7/2025 6:46 AM 3257 leapseconds -a---- 1/10/2024 5:44 AM 8919 leapseconds.awk -a---- 5/25/2017 4:44 AM 252 LICENSE -a---- 1/9/2025 5:48 PM 53178 Makefile -a---- 3/22/2025 9:42 AM 238893 NEWS -a---- 3/20/2025 5:06 AM 166577 northamerica -a---- 11/19/2023 8:29 AM 2435 README -a---- 4/19/2021 8:00 PM 773 SECURITY -a---- 3/22/2025 12:11 PM 95298 southamerica -a---- 12/27/2024 11:14 AM 66715 theory.html -a---- 3/22/2025 12:11 PM 6 version -a---- 4/10/2025 7:52 AM 49360 windowsZones.xml -a---- 4/8/2024 9:16 AM 11554 ziguard.awk -a---- 1/11/2024 7:30 AM 10312 zishrink.awk -a---- 3/20/2025 7:43 AM 18822 zone.tab -a---- 3/20/2025 7:43 AM 17597 zone1970.tab -a---- 3/22/2025 9:21 AM 8084 zonenow.tab ``` I created the conda virtual environment, installed pyarrow, and looked for the same tzdata files ``` Directory: C:\Users\kyleh\miniconda3\envs\test_pyarrow_conda\share\zoneinfo Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 4/11/2025 6:48 AM Africa d----- 4/11/2025 6:48 AM America d----- 4/11/2025 6:48 AM Antarctica d----- 4/11/2025 6:48 AM Arctic d----- 4/11/2025 6:48 AM Asia d----- 4/11/2025 6:48 AM Atlantic d----- 4/11/2025 6:48 AM Australia d----- 4/11/2025 6:48 AM Brazil d----- 4/11/2025 6:48 AM build d----- 4/11/2025 6:48 AM Canada d----- 4/11/2025 6:48 AM Chile d----- 4/11/2025 6:48 AM Etc d----- 4/11/2025 6:48 AM Europe d----- 4/11/2025 6:48 AM Indian d----- 4/11/2025 6:48 AM Mexico d----- 4/11/2025 6:48 AM Pacific d----- 4/11/2025 6:48 AM US -a---- 3/23/2025 6:51 AM 1103 CET -a---- 3/23/2025 6:51 AM 1754 CST6CDT -a---- 3/23/2025 6:51 AM 1117 Cuba -a---- 3/23/2025 6:51 AM 682 EET -a---- 3/23/2025 6:51 AM 1309 Egypt -a---- 3/23/2025 6:51 AM 1496 Eire -a---- 3/23/2025 6:51 AM 149 EST -a---- 3/23/2025 6:51 AM 1744 EST5EDT -a---- 3/23/2025 6:51 AM 113 Factory -a---- 3/23/2025 6:51 AM 1599 GB -a---- 3/23/2025 6:51 AM 1599 GB-Eire -a---- 3/23/2025 6:51 AM 111 GMT -a---- 3/23/2025 6:51 AM 111 GMT+0 -a---- 3/23/2025 6:51 AM 111 GMT-0 -a---- 3/23/2025 6:51 AM 111 GMT0 -a---- 3/23/2025 6:51 AM 111 Greenwich -a---- 3/23/2025 6:51 AM 775 Hongkong -a---- 3/23/2025 6:51 AM 221 HST -a---- 3/23/2025 6:51 AM 130 Iceland -a---- 3/23/2025 6:51 AM 812 Iran -a---- 3/23/2025 6:51 AM 4791 iso3166.tab -a---- 3/23/2025 6:51 AM 1074 Israel -a---- 3/23/2025 6:51 AM 339 Jamaica -a---- 3/23/2025 6:51 AM 213 Japan -a---- 3/23/2025 6:51 AM 219 Kwajalein -a---- 3/23/2025 6:51 AM 5069 leap-seconds.list -a---- 3/23/2025 6:51 AM 3257 leapseconds -a---- 3/23/2025 6:51 AM 431 Libya -a---- 3/23/2025 6:51 AM 1103 MET -a---- 3/23/2025 6:51 AM 240 MST -a---- 3/23/2025 6:51 AM 1042 MST7MDT -a---- 3/23/2025 6:51 AM 1042 Navajo -a---- 3/23/2025 6:51 AM 1043 NZ -a---- 3/23/2025 6:51 AM 808 NZ-CHAT -a---- 3/23/2025 6:51 AM 923 Poland -a---- 3/23/2025 6:51 AM 1463 Portugal -a---- 3/23/2025 6:51 AM 393 PRC -a---- 3/23/2025 6:51 AM 1294 PST8PDT -a---- 3/23/2025 6:51 AM 511 ROC -a---- 3/23/2025 6:51 AM 415 ROK -a---- 3/23/2025 6:51 AM 256 Singapore -a---- 3/23/2025 6:51 AM 1200 Turkey -a---- 3/23/2025 6:51 AM 107469 tzdata.zi -a---- 3/23/2025 6:51 AM 111 UCT -a---- 3/23/2025 6:51 AM 111 Universal -a---- 3/23/2025 6:51 AM 111 UTC -a---- 3/23/2025 6:51 AM 908 W-SU -a---- 3/23/2025 6:51 AM 1463 WET -a---- 3/23/2025 6:51 AM 18822 zone.tab -a---- 3/23/2025 6:51 AM 17597 zone1970.tab -a---- 3/23/2025 6:51 AM 8084 zonenow.tab -a---- 3/23/2025 6:51 AM 111 Zulu ``` There are far more files and entire folders of time zones of different regions. Important for my particular use case is the conda environment has the "GMT" file which my time zone requires. Here's my steps to fixing this problem: 1. `pip install tzdata` or in my case since I am using uv `uv add tzdata` 2. `$Env:TZDIR = "C:\Users\kyleh\PycharmProjects\pyarrow-orc-failure\.venv\Lib\site-packages\tzdata\zoneinfo"` **Question** Can PyArrow be updated to require the python tzdata wheel and look for the timezone data in the appropriate location? Can the PyArrow documentation be updated to reflec that `pyarrow.util.download_tzdata_on_windows()` does not work anymore for Windows 10/11 installations and better documentation be added to guide users on how to configure the `tzdata` package and their environmental variables to function with the Apache ORC C++ library? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org