raulcd commented on code in PR #50444:
URL: https://github.com/apache/arrow/pull/50444#discussion_r3551937780


##########
python/pyarrow/tests/test_pandas.py:
##########
@@ -4612,8 +4550,10 @@ def test_to_pandas_extension_dtypes_mapping():
 
 def test_to_pandas_extension_dtypes_mapping_complex_type():
     # https://github.com/apache/arrow/pull/44720
-    if Version(pd.__version__) < Version("1.5.2"):
-        pytest.skip("Test relies on pd.ArrowDtype")
+    # For the pandas issue, see backport commit to 2.0.2:
+    # 
https://github.com/pandas-dev/pandas/commit/c8cd0277f8f889c5db7463ef7f36b495b5c9de69
+    if Version(pd.__version__) < Version("2.0.2"):
+        pytest.skip("ArrowDtype.type doesn't support struct before pandas 
2.0.2")

Review Comment:
   this has been like this forever, was already like this, we just found out :)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to