apache / arrow-adbc

Database connectivity API standard and libraries for Apache Arrow
https://arrow.apache.org/adbc/
Apache License 2.0
384 stars 95 forks source link

Error verifying wheels for ADBC Libraries 15 #2311

Open paleolimbot opened 4 days ago

paleolimbot commented 4 days ago

What happened?

When verifying the release candidate for 15, I get an error when loading pyarrow 18.0.0 during the wheel verification step.

I'm on Ubuntu 22.04 and I ran USE_CONDA=1 ./verify-release-candidate.sh 15 1 from arrow-adbc/dev/release.

+ echo '=== () Testing wheels ==='
=== () Testing wheels ===
+ test_packages
+ for component in ${COMPONENTS}
+ echo '=== Testing adbc_driver_bigquery ==='
=== Testing adbc_driver_bigquery ===
+ python -c '
import adbc_driver_bigquery
import adbc_driver_bigquery.dbapi
'
Traceback (most recent call last):
  File "/tmp/arrow-adbc-15.azMyr/miniforge/envs/conda-wheel-3.9-x86_64/lib/python3.9/site-packages/adbc_driver_manager/dbapi.py", line 42, in <module>
    import pyarrow
  File "/tmp/arrow-adbc-15.azMyr/miniforge/envs/conda-wheel-3.9-x86_64/lib/python3.9/site-packages/pyarrow/__init__.py", line 65, in <module>
    import pyarrow.lib as _lib
ImportError: /tmp/arrow-adbc-15.azMyr/miniforge/envs/conda-wheel-3.9-x86_64/lib/python3.9/site-packages/pyarrow/libarrow_python.so: undefined symbol: _ZN5arrow16Decimal32BuilderC1ERKSt10shared_ptrINS_8DataTypeEEPNS_10MemoryPoolEl

Stack Trace

No response

How can we reproduce the bug?

No response

Environment/Setup

No response

lidavidm commented 2 days ago

I think I saw a similar error in CI once that went away on a retry. Similar to here it was a missing symbol that was actually defined; I wonder if something about the Conda environment activation isn't deterministic...

lidavidm commented 2 days ago

I wasn't able to replicate :(