Closed
Description
Pandas version checks
-
I have checked that this issue has not already been reported.
-
I have confirmed this bug exists on the latest version of pandas.
-
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
If someone build master branch of pandas via pip in AIX, then they will receive the error as follows:
pip3.9 install pandas -v
mdlist = compiler.get_command_to_archive_shlib()
File "/tmp/pip-build-env-y55d21vm/overlay/lib/python3.9/site-packages/mesonbuild/compilers/compilers.py", line 948, in get_command_to_archive_shlib
return self.linker.get_command_to_archive_shlib()
AttributeError: 'NoneType' object has no attribute 'get_command_to_archive_shlib'
The Meson build system
Version: 1.2.1
Source dir: /tmp
Found ninja-1.11.1 at /opt/freeware/bin/ninja
Visual Studio environment is needed to run Ninja. It is recommended to use Meson wrapper:
/tmp/pip-build-env-y55d21vm/overlay/bin/meson compile -C .
ERROR: Unhandled python exception
This is a Meson bug and should be reported!
error: subprocess-exited-with-error
Preparing metadata (pyproject.toml) did not run successfully.
exit code: 2
See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /opt/freeware/bin/python3.9 /opt/freeware/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpd79b_9px
cwd: /tmp/pip-install-ihktll3n/pandas_3bab19dae760400388e20f1843d43267
Preparing metadata (pyproject.toml) ... error
error: metadata-generation-failed
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Issue Description
This is a Python exception that happened, which I have fixed here
Expected Behavior
pip3.9 install pandas should install pandas in AIX.
I would kindly request the community to increase the minimum required version to 1.6.0 if possible, and this will build Pandas in AIX and other targets as well.
I tested with making the change in pyproject.toml from "meson==1.2.1" to "meson==1.6.0" in AIX and it works.
Requesting the community to kindly consider this, and I will raise a pull request once you are okay.