You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Raúl Cumplido (Jira)" <ji...@apache.org> on 2022/09/13 09:12:00 UTC

[jira] [Closed] (ARROW-17104) [CI][Python] Pyarrow cannot be imported on CI job AMD64 MacOS 10.15 Python 3

     [ https://issues.apache.org/jira/browse/ARROW-17104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raúl Cumplido closed ARROW-17104.
---------------------------------
    Resolution: Workaround

This was solved with a protobuf fix upstream. It was not closed at that time as the original PR contained other fixes that we wanted to add but those either have been already included or should be included on the linked Jira ticket.

> [CI][Python] Pyarrow cannot be imported on CI job AMD64 MacOS 10.15 Python 3 
> -----------------------------------------------------------------------------
>
>                 Key: ARROW-17104
>                 URL: https://issues.apache.org/jira/browse/ARROW-17104
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Raúl Cumplido
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 10.0.0
>
>          Time Spent: 7h 20m
>  Remaining Estimate: 0h
>
> The *AMD64 MacOS 10.15 Python 3*  job has started to fail on master with the following error:
> {code:java}
>  + pytest -r s -v --pyargs pyarrow
> ============================= test session starts ==============================
> platform darwin -- Python 3.9.13, pytest-7.1.2, pluggy-1.0.0 -- /usr/local/opt/python@3.9/bin/python3.9
> cachedir: .pytest_cache
> hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/Users/runner/work/arrow/arrow/.hypothesis/examples')
> rootdir: /Users/runner/work/arrow/arrow
> plugins: hypothesis-6.52.1, lazy-fixture-0.6.3
> collecting ... collected 0 items / 1 error
> ==================================== ERRORS ====================================
> ________________________ ERROR collecting test session _________________________
> /usr/local/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py:127: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1030: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1007: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:972: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:228: in _call_with_frames_removed
>     ???
> <frozen importlib._bootstrap>:1030: in _gcd_import
>     ???
> <frozen importlib._bootstrap>:1007: in _find_and_load
>     ???
> <frozen importlib._bootstrap>:986: in _find_and_load_unlocked
>     ???
> <frozen importlib._bootstrap>:680: in _load_unlocked
>     ???
> <frozen importlib._bootstrap_external>:850: in exec_module
>     ???
> <frozen importlib._bootstrap>:228: in _call_with_frames_removed
>     ???
> /usr/local/lib/python3.9/site-packages/pyarrow/__init__.py:65: in <module>
>     import pyarrow.lib as _lib
> E   ImportError: dlopen(/usr/local/lib/python3.9/site-packages/pyarrow/lib.cpython-39-darwin.so, 2): Symbol not found: __ZN6google8protobuf8internal16InternalMetadataD1Ev
> E     Referenced from: /usr/local/lib/libarrow.900.dylib
> E     Expected in: flat namespace
> E    in /usr/local/lib/libarrow.900.dylib
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 5.18s ===============================
> Error: Process completed with exit code 2. {code}
> See an example of build on arrow/master branch: https://github.com/apache/arrow/runs/7385879183?check_suite_focus=true



--
This message was sent by Atlassian Jira
(v8.20.10#820010)