From 9b6be29f431705ce1f85cc218c66d4d03698f06b Mon Sep 17 00:00:00 2001 From: Dane Pitkin <48041712+danepitkin@users.noreply.github.com> Date: Thu, 31 Aug 2023 00:32:26 -0400 Subject: [PATCH] GH-37480: [Python] Bump pandas version that contains regression for pandas issue 50127 (#37481) ### Rationale for this change The pandas issue is now marked for v2.1.1 release. ### What changes are included in this PR? Bump the pandas version when skipping relevant pytests. ### Are these changes tested? Yes, CI will verify. ### Are there any user-facing changes? No * Closes: #37480 Authored-by: Dane Pitkin Signed-off-by: Sutou Kouhei --- python/pyarrow/tests/test_pandas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/pyarrow/tests/test_pandas.py b/python/pyarrow/tests/test_pandas.py index ef6ddd09933c9..67502af443302 100644 --- a/python/pyarrow/tests/test_pandas.py +++ b/python/pyarrow/tests/test_pandas.py @@ -457,7 +457,7 @@ def test_mixed_column_names(self): preserve_index=True) def test_binary_column_name(self): - if Version("2.0.0") <= Version(pd.__version__) < Version("2.1.0"): + if Version("2.0.0") <= Version(pd.__version__) < Version("2.2.0"): # TODO: regression in pandas, hopefully fixed in next version # https://issues.apache.org/jira/browse/ARROW-18394 # https://github.com/pandas-dev/pandas/issues/50127 @@ -3083,7 +3083,7 @@ def _fully_loaded_dataframe_example(): @pytest.mark.parametrize('columns', ([b'foo'], ['foo'])) def test_roundtrip_with_bytes_unicode(columns): - if Version("2.0.0") <= Version(pd.__version__) < Version("2.1.0"): + if Version("2.0.0") <= Version(pd.__version__) < Version("2.2.0"): # TODO: regression in pandas, hopefully fixed in next version # https://issues.apache.org/jira/browse/ARROW-18394 # https://github.com/pandas-dev/pandas/issues/50127