Skip to content

Commit 13a63b2

Browse files
jorisvandenbosscheamoeba
authored andcommitted
GH-45427: [Python] Fix version comparison in pandas compat for pandas 2.3 dev version (#45428)
### Rationale for this change Small follow-up on #45383 to ensure this version comparison also does the right thing for the currently not-yet-released dev version of 2.3.0 * GitHub Issue: #45427 Authored-by: Joris Van den Bossche <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>
1 parent d94cf52 commit 13a63b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyarrow/pandas-shim.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ cdef class _PandasAPIShim(object):
7979

8080
self._is_v1 = self._loose_version < Version('2.0.0')
8181
self._is_ge_v21 = self._loose_version >= Version('2.1.0')
82-
self._is_ge_v23 = self._loose_version >= Version('2.3.0')
82+
self._is_ge_v23 = self._loose_version >= Version('2.3.0.dev0')
8383
self._is_ge_v3 = self._loose_version >= Version('3.0.0.dev0')
8484
self._is_ge_v3_strict = self._loose_version >= Version('3.0.0')
8585

0 commit comments

Comments
 (0)