amol- commented on a change in pull request #10769:
URL: https://github.com/apache/arrow/pull/10769#discussion_r674674329



##########
File path: dev/archery/archery/compat.py
##########
@@ -49,3 +50,10 @@ def _stringify_path(path):
             return str(path)
 
     raise TypeError("not a path-like object")
+
+
+def _import_pandas():
+    # ARROW-13425: avoid importing PyArrow from Pandas
+    sys.modules['pyarrow'] = None

Review comment:
       Should we unset this one after pandas has been correctly imported to 
leave open the possibility for other commands to try import pyarrow? I guess it 
might just reintroduce the bug again somewhere else and it might just make 
sense to explicitly document somewhere that `archery` can't depend on `arrow`.




-- 
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