apache / apache/arrow

[Python] Some jobs are failing due to missing wheels on newest Pandas 2.3.0

Open
#46,718 4 comments 0 reactions 0 assignees View on GitHub
Component: Python Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the bug, including details regarding any error messages, version, and platform.

It does seem that there are some wheels missing from Pandas 2.3.0 on PyPI, see my comment here:
- https://github.com/pandas-dev/pandas/issues/61564#issuecomment-2943162305

We are getting some CI failures like https://github.com/apache/arrow/actions/runs/15460877053/job/43524005564?pr=46705 with the following:
```
[151/151] Linking target pandas/_libs/sparse.cpython-311-darwin.so
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in
main()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 178, in prepare_metadata_for_build_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/tp/bfmjfn9s0hd59bm9z80j3mgm0000gn/T/pip-build-env-w3s4fz9n/overlay/lib/python3.11/site-packages/mesonpy/__init__.py", line 1144, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/tp/bfmjfn9s0hd59bm9z80j3mgm0000gn/T/pip-build-env-w3s4fz9n/overlay/lib/python3.11/site-packages/mesonpy/__init__.py", line 1198, in build_wheel
return project.wheel(out).name
^^^^^^^^^^^^^^^^^^
File "/private/var/folders/tp/bfmjfn9s0hd59bm9z80j3mgm0000gn/T/pip-build-env-w3s4fz9n/overlay/lib/python3.11/site-packages/mesonpy/__init__.py", line 1041, in wheel
return builder.build(directory)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/tp/bfmjfn9s0hd59bm9z80j3mgm0000gn/T/pip-build-env-w3s4fz9n/overlay/lib/python3.11/site-packages/mesonpy/__init__.py", line 471, in build
wheel_file = pathlib.Path(directory, f'{self.name}.whl')
^^^^^^^^^
File "/private/var/folders/tp/bfmjfn9s0hd59bm9z80j3mgm0000gn/T/pip-build-env-w3s4fz9n/overlay/lib/python3.11/site-packages/mesonpy/__init__.py", line 356, in name
return f'{self._metadata.distribution_name}-{self._metadata.version}-{self.tag}'
^^^^^^^^
File "/private/var/folders/tp/bfmjfn9s0hd59bm9z80j3mgm0000gn/T/pip-build-env-w3s4fz9n/overlay/lib/python3.11/site-packages/mesonpy/__init__.py", line 351, in tag
return mesonpy._tags.Tag(None, self._stable_abi, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/tp/bfmjfn9s0hd59bm9z80j3mgm0000gn/T/pip-build-env-w3s4fz9n/overlay/lib/python3.11/site-packages/mesonpy/_tags.py", line 180, in __init__
self.platform = platform or get_platform_tag()
^^^^^^^^^^^^^^^^^^
File "/private/var/folders/tp/bfmjfn9s0hd59bm9z80j3mgm0000gn/T/pip-build-env-w3s4fz9n/overlay/lib/python3.11/site-packages/mesonpy/_tags.py", line 166, in get_platform_tag
return _get_macosx_platform_tag()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/tp/bfmjfn9s0hd59bm9z80j3mgm0000gn/T/pip-build-env-w3s4fz9n/overlay/lib/python3.11/site-packages/mesonpy/_tags.py", line 143, in _get_macosx_platform_tag
major, minor = version
^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
```

I am opening the issue just to track the failure on our repo and in case others find the same issue. We can close once wheels are available again.

### Component(s)

Python

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.