DylanLukes opened a new issue, #38338: URL: https://github.com/apache/arrow/issues/38338
### Describe the bug, including details regarding any error messages, version, and platform. I had been using Flight in `pyarrow` 12.0.1 without issue, but it seems to have been disabled (somehow) from the wheel build CI in 13.0.0. This presents a blocking issue for me as I cannot just revert to 12.0.1: it seems like the 12.0.1 metadata is inconsistent now so I can't reinstall it from PyPI (see end of this post for details). **What's baffling is that looking through all of the places Flight support should be enabled... it appears to be.** It does not appear that `ARROW_FLIGHT` is set to `OFF` in the CI task: https://github.com/apache/arrow/blob/63840f297df681e710a0b1a822235eca54f1c2fb/dev/tasks/python-wheels/github.osx.arm64.yml#L25-L27 And moreover, the ` --x-feature=flight` flag is set. https://github.com/apache/arrow/blob/63840f297df681e710a0b1a822235eca54f1c2fb/dev/tasks/python-wheels/github.osx.arm64.yml#L66-L74 I installed `apache-arrow` (13.0.0) itself from Homebrew, and inspecting the formula... [Flight support is enabled there too](https://github.com/Homebrew/homebrew-core/blob/f539ddeeb78e374d9021060e372d5a01cbf9433f/Formula/a/apache-arrow.rb#L50-L58). Despite this, importing `pyarrow.flight` indicates that the installation was not built with support for it. ```sh ~ ❯ python Python 3.12.0 (main, Oct 18 2023, 20:54:23) [Clang 15.0.0 (clang-1500.0.40.1)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pyarrow.flight Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/dylan/.asdf/installs/python/3.12.0/lib/python3.12/site-packages/pyarrow/flight.py", line 67, in <module> raise ImportError( ImportError: The pyarrow installation is not built with support for 'flight' (No module named 'pyarrow._flight') ``` --- ### System Details **System**: MacBook Pro w/ M1 Max **OS**: macOS Sonoma 14.0 **Python**: 3.12.0 **Arrow**: apache-arrow: stable 13.0.0 (bottled) from Homebrew, [formula here](https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/a/apache-arrow.rb), `-DARROW_FLIGHT=ON` is _enabled_. --- ### Metadata Inconsistency w/ 12.0.1 I would just go back to 12.0.1 until this is resolved, but I cannot, here's the error I get: ```sh ~ ❯ pip install --upgrade pyarrow==12.0.1 Collecting pyarrow==12.0.1 Using cached pyarrow-12.0.1.tar.gz (1.0 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done WARNING: Requested pyarrow==12.0.1 from https://files.pythonhosted.org/packages/c5/68/d3410e975bebbf5be00c1238d0418345d8ec5d88b7a6c102211a1c967edd/pyarrow-12.0.1.tar.gz, but installing version 12.0.0 Discarding https://files.pythonhosted.org/packages/c5/68/d3410e975bebbf5be00c1238d0418345d8ec5d88b7a6c102211a1c967edd/pyarrow-12.0.1.tar.gz (from https://pypi.org/simple/pyarrow/) (requires-python:>=3.7): Requested pyarrow==12.0.1 from https://files.pythonhosted.org/packages/c5/68/d3410e975bebbf5be00c1238d0418345d8ec5d88b7a6c102211a1c967edd/pyarrow-12.0.1.tar.gz has inconsistent version: expected '12.0.1', but metadata has '12.0.0' ERROR: Could not find a version that satisfies the requirement pyarrow==12.0.1 (from versions: 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.12.1, 0.13.0, 0.14.0, 0.15.1, 0.16.0, 0.17.0, 0.17.1, 1.0.0, 1.0.1, 2.0.0, 3.0.0, 4.0.0, 4.0.1, 5.0.0, 6.0.0, 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 10.0.1, 11.0.0, 12.0.0, 12.0.1, 13.0.0) ERROR: No matching distribution found for pyarrow==12.0.1 ``` I can't find any reference to `12.0.0` in the `tar.gz`, so this must be in reference to some metadata PyPI has elsewhere. ### Component(s) FlightRPC, 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]
