-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
When using pyarrow at the same time as array_record in Python, I'm getting an initialization issue, I think due to these both being statically linked. There are some more details in this issue.
Here is a minimal reproduction (see apache/arrow#40088 (comment)):
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "array-record==0.8.1",
# "pyarrow==21.0.0",
# ]
# ///
from array_record.python import array_record_data_source
import pyarrowuv run minimal_repro.py
libc++abi: terminating due to uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argumentOr, flipping the order:
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "array-record==0.8.1",
# "pyarrow==21.0.0",
# ]
# ///
import pyarrow
from array_record.python import array_record_data_sourceuv run minimal_repro2.py
[mutex.cc : 452] RAW: Lock blocking 0x100b1eaa8 @
**HANGS FOREVER**This is on MacOS 26.0.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels