You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "nbro10 (via GitHub)" <gi...@apache.org> on 2023/12/11 12:45:30 UTC

[I] RuntimeWarning: Python binding for CumulativeOptions not exposed [arrow]

nbro10 opened a new issue, #39169:
URL: https://github.com/apache/arrow/issues/39169

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   Settings
   
   - Python: Python 3.7.17
   - OS: Mac OS Sonoma [14.1.2 (23B92)]
   - I did `brew install cmake`
   - I did `brew install apache-arrow`
   - pyarrow version: 12.0.1
   - pandas version: 1.3.5
   
   Logs
   
   ```
   ...
       import pandas as pd
   /Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pandas/__init__.py:50: in <module>
       from pandas.core.api import (
   /Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pandas/core/api.py:29: in <module>
       from pandas.core.arrays import Categorical
   /Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pandas/core/arrays/__init__.py:20: in <module>
       from pandas.core.arrays.string_arrow import ArrowStringArray
   /Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pandas/core/arrays/string_arrow.py:65: in <module>
       import pyarrow.compute as pc
   /Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pyarrow/compute.py:331: in <module>
       _make_global_functions()
   /Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pyarrow/compute.py:328: in _make_global_functions
       g[cpp_name] = g[name] = _wrap_function(name, func)
   /Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pyarrow/compute.py:287: in _wrap_function
       options_class = _get_options_class(func)
   /Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pyarrow/compute.py:207: in _get_options_class
       .format(class_name), RuntimeWarning)
   E   RuntimeWarning: Python binding for CumulativeOptions not exposed
   
   ```
   
   ### 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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RuntimeWarning: Python binding for CumulativeOptions not exposed [arrow]

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche closed issue #39169: RuntimeWarning: Python binding for CumulativeOptions not exposed
URL: https://github.com/apache/arrow/issues/39169


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RuntimeWarning: Python binding for CumulativeOptions not exposed [arrow]

Posted by "nbro10 (via GitHub)" <gi...@apache.org>.
nbro10 commented on issue #39169:
URL: https://github.com/apache/arrow/issues/39169#issuecomment-1881225724

   It's been a while since I've come across this issue. 
   
   Wouldn't it be possible to install a specific version of `apache-arrow` with `brew`? I think the problem is installing from source. This can sometimes be problematic or tedious because you have to follow several steps. Btw, can you please provide the link to these steps?


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RuntimeWarning: Python binding for CumulativeOptions not exposed [arrow]

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd commented on issue #39169:
URL: https://github.com/apache/arrow/issues/39169#issuecomment-1881267938

   Thanks for the suggestion @nbro10 . Allowing to install several versions from brew would require some extra maintenance effort but is indeed something that could be explored. I think this could be opened on a different issue with the suggestion.
   As per building from source the documentation can be found here:
   https://arrow.apache.org/docs/developers/cpp/building.html
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RuntimeWarning: Python binding for CumulativeOptions not exposed [arrow]

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche commented on issue #39169:
URL: https://github.com/apache/arrow/issues/39169#issuecomment-1881126696

   This issue can be closed I think? (not actionable on Arrow's side)


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RuntimeWarning: Python binding for CumulativeOptions not exposed [arrow]

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd commented on issue #39169:
URL: https://github.com/apache/arrow/issues/39169#issuecomment-1850103068

   If you are installing `apache-arrow` from brew you'll be installing 14.0.1 instead of 12.0.1. `CumulativeOptions` was added on 13.0.0 it will not be present on 12.0.1: https://github.com/apache/arrow/issues/32190
   
   I think you have several options. Build and install Apache Arrow CPP from the 12.0.1 released sources to have a compatible Arrow CPP or update pyarrow to 13.0.0 or newer.
   
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org