You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/07/22 13:01:41 UTC

[GitHub] [arrow] pitrou commented on a change in pull request #10769: ARROW-13425: [Archery] Avoid importing PyArrow indirectly

pitrou commented on a change in pull request #10769:
URL: https://github.com/apache/arrow/pull/10769#discussion_r674773928



##########
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:
       I have no idea what would be most desirable in this case. I would ask @jorisvandenbossche but he's on vacation :-)




-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org