rok commented on code in PR #48601:
URL: https://github.com/apache/arrow/pull/48601#discussion_r2738670345
##########
python/pyarrow/tests/test_compute.py:
##########
@@ -2769,6 +2787,11 @@ def _check_temporal_rounding(ts, values, unit):
np.testing.assert_array_equal(result, expected)
+# TODO(GH-48743): Re-enable when Windows timezone issues are resolved
+# https://github.com/apache/arrow/issues/48743
Review Comment:
It's [AMD64 Windows 2022 Python
3.13](https://github.com/apache/arrow/actions/runs/21454546843/job/61791868723?pr=48601#step:10:812)
and it looks a bit like this (I think it's a disagreement about single
timestamp in the 1940s in Kolkatta):
```python
result = pc.ceil_temporal(ta, options=options).to_pandas()
expected = ts.dt.ceil(frequency)
> np.testing.assert_array_equal(result, expected)
E AssertionError:
E Arrays are not equal
E
E Mismatched elements: 1 / 13 (7.69%)
E Mismatch at index:
E [4]: 1943-12-15 01:00:00+06:30 (ACTUAL), 1943-12-15
00:00:00+06:30 (DESIRED)
E Max absolute difference among violations: 0 days 01:00:00
E ACTUAL: array([Timestamp('1923-07-08 00:00:00+0530',
tz='Asia/Kolkata'),
E Timestamp('1931-03-18 00:00:00+0530', tz='Asia/Kolkata'),
E Timestamp('1932-06-17 00:00:00+0530',
tz='Asia/Kolkata'),...
E DESIRED: array([Timestamp('1923-07-08 00:00:00+0530',
tz='Asia/Kolkata'),
E Timestamp('1931-03-18 00:00:00+0530', tz='Asia/Kolkata'),
E Timestamp('1932-06-17 00:00:00+0530',
tz='Asia/Kolkata'),...
C:\hostedtoolcache\windows\Python\3.13.11\x64\Lib\site-packages\pyarrow\tests\test_compute.py:2720:
AssertionError
```
I really hope it's [gcc](https://github.com/apache/arrow/issues/48743) and
not something else.
--
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]