Skip to content

Commit

Permalink
apacheGH-37480: [Python] Bump pandas version that contains regression…
Browse files Browse the repository at this point in the history
… for pandas issue 50127 (apache#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: apache#37480

Authored-by: Dane Pitkin <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
danepitkin authored Aug 31, 2023
1 parent 3b8ab8e commit 9b6be29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyarrow/tests/test_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9b6be29

Please sign in to comment.