AlenkaF commented on PR #37436: URL: https://github.com/apache/arrow/pull/37436#issuecomment-1727110563
I am trying to see why the code is failing if the database is copied/installed into a new location. For the purpose of testing on the CI, the path to the new location of the tzdata db is set with an env variable `PYARROW_TZDATA_PATH` [here](https://github.com/apache/arrow/pull/37436/files#diff-8d2473796f223854c76cc041532c0071ecf38a5106e101c24215a153cfcc3e43). I check for it in the _python/pyarrow/tests/conftest.py_ and if the env var is set, I call `set_timezone_db_path` on the new path (initializing the C++ `GlobalOptions` with a new path). If I set the env var to the default path (`%USERPROFILE%\Downloads\tzdata`) the code works. But if I install (or copy) the tzdata db into another location, I get `OSError`: `Unable to get Timezone database version from C:\Users\appveyor\Downloads\test\tzdata\` [3496](https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/47978107#L3496)` https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/47978107#L3495 Any ideas what am I missing @pitrou ? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
