Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-17104

[CI][Python] Pyarrow cannot be imported on CI job AMD64 MacOS 10.15 Python 3

    XMLWordPrintableJSON

Details

    Description

      The AMD64 MacOS 10.15 Python 3  job has started to fail on master with the following error:

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

      See an example of build on arrow/master branch: https://github.com/apache/arrow/runs/7385879183?check_suite_focus=true

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              raulcd Raúl Cumplido
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 7h 20m
                  7h 20m