ingomueller-net opened a new issue, #47398:
URL: https://github.com/apache/arrow/issues/47398

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   The releases on PyPI seem to be compiled without the Substrait component. On 
all versions including and above 19.0.0, I observe the following problem (in a 
venv with `pyarrow` installed):
   
   ```
   $ python -c "import pyarrow.substrait"
   Traceback (most recent call last):
     File "<string>", line 1, in <module>
       import pyarrow.substrait
     File 
"/usr/local/google/home/ingomueller/.venv/substrait-mlir/lib/python3.13/site-packages/pyarrow/substrait.py",
 line 30, in <module>
       raise ImportError(
       ...<2 lines>...
       ) from None
   ImportError: The pyarrow installation is not built with support for 
'substrait' (No module named 'substrait.proto')
   ```
   
   In the several versions before, the same command succeeds (and has no 
output).
   
   I have looked a bit into the build options and scripts but did not find any 
suspicious change. Another possible reason for the breakage is that something 
related to the protobuf files has changed but I haven't investigated that yet.
   
   ### Component(s)
   
   Python


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to