Skip to content

Commit 27cea3a

Browse files
Backport PR #57144 on branch 2.2.x (CI: Fix _get_dst_hours for numpy 2.0 change) (#57153)
Backport PR #57144: CI: Fix _get_dst_hours for numpy 2.0 change Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
1 parent 4bad5fc commit 27cea3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/_libs/tslibs/tzconversion.pyx

+2-1
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,8 @@ cdef ndarray[int64_t] _get_dst_hours(
607607
ndarray[uint8_t, cast=True] mismatch
608608
ndarray[int64_t] delta, dst_hours
609609
ndarray[intp_t] switch_idxs, trans_idx, grp, a_idx, b_idx, one_diff
610-
list trans_grp
610+
# TODO: Can uncomment when numpy >=2 is the minimum
611+
# tuple trans_grp
611612
intp_t switch_idx
612613
int64_t left, right
613614

0 commit comments

Comments
 (0)