thisisnic commented on issue #40337:
URL: https://github.com/apache/arrow/issues/40337#issuecomment-7115553899
I re-ran this on Windows with pyarrow 26.0.1 and different python-dateutil
versions. With 2.9.0, `dateutil.tz.gettz('Europe/Paris')` is itself
`tzfile('Europe/Monaco')`, so the Monaco result came from dateutil (2.8.2 gives
Paris). With the current dateutil 4.0.0 that is gone, but `gettz` now returns a
`tzfile` with a full Windows path (`C:\...\tzdata\zoneinfo\Europe\Paris`) and
`tzinfo_to_string` returns that whole path:
`python/pyarrow/src/arrow/python/datetime.cc:577` searches for `zoneinfo/` with
a forward slash, which doesn't match a backslash path. Handling both separators
there should fix it and let us remove the Windows skip on
`test_dateutil_tzinfo_to_string`.
--
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]