You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2023/08/31 04:32:32 UTC

[arrow] branch main updated: GH-37480: [Python] Bump pandas version that contains regression for pandas issue 50127 (#37481)

This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 9b6be29f43 GH-37480: [Python] Bump pandas version that contains regression for pandas issue 50127 (#37481)
9b6be29f43 is described below

commit 9b6be29f431705ce1f85cc218c66d4d03698f06b
Author: Dane Pitkin <48...@users.noreply.github.com>
AuthorDate: Thu Aug 31 00:32:26 2023 -0400

    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 <da...@voltrondata.com>
    Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
 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 ef6ddd0993..67502af443 100644
--- a/python/pyarrow/tests/test_pandas.py
+++ b/python/pyarrow/tests/test_pandas.py
@@ -457,7 +457,7 @@ class TestConvertMetadata:
                                         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