-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Building pandas via pip fails in AIX due to use of lower meson version #60495
Comments
Thanks for the report. I see that the python version you're trying to build against is 3.9 which has been removed in the main branch in #58238. Are you able to build pandas with python 3.10+ with meson 1.2.1? |
Hi @asishm Nope. With 3.11 also, we hit the same issue. |
@KamathForAIX - can you repost the log with 3.11. Given the log:
it looks like this should be reported to Meson. |
@rhshadrach Please see the log below. Yes, this is indeed a meson bug. But it has been fixed and is available in meson versions > 1.3.0. But Pandas still uses Meson 1.2.1 which blocks build in AIX. If we can, then I would like to raise a pull request with a change in pyproject.toml here, where we can update this to any version higher than 1.3.0 or (use the latest 1.6.0) and the corresponding meson python version as well (0.17).
|
Upgrading pandas to use a higher version of meson in pyproject.toml fixes this issue and we will be able to build pandas via pip in AIX. |
Ah, I see - thanks! I misread on first go. Assuming a PR is green on the CI, I think we'd be good to upgrade. cc @lithomas1 @mroeschke |
…ersion Closes pandas-dev#60495. Log after this change for pandas build in AIX. pip3.11 install . -v Created wheel for pandas: filename=pandas-0+untagged.35796.gca91dd4.dirty-cp311-cp311-aix_7205_2419_64.whl size=18419603 sha256=599e0b2217ca31130ae15bc58fbeb260488a276aceb3ee6607b5e8c602031a6b Stored in directory: /tmp/pip-ephem-wheel-cache-0rxkiefk/wheels/b4/7d/f8/eb241896ce6eabb73cb53844efadd6cf4f368800addd37e52d Successfully built pandas Installing collected packages: tzdata, six, numpy, python-dateutil, pandas changing mode of /opt/freeware/bin/f2py to 755 changing mode of /opt/freeware/bin/numpy-config to 755 Successfully installed numpy-2.2.0 pandas-0+untagged.35796.gca91dd4.dirty python-dateutil-2.9.0.post0 six-1.17.0 tzdata-2024.2 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
…ersion Closes pandas-dev#60495. Log after this change for pandas build in AIX. pip3.11 install . -v Created wheel for pandas: filename=pandas-0+untagged.35796.gca91dd4.dirty-cp311-cp311-aix_7205_2419_64.whl size=18419603 sha256=599e0b2217ca31130ae15bc58fbeb260488a276aceb3ee6607b5e8c602031a6b Stored in directory: /tmp/pip-ephem-wheel-cache-0rxkiefk/wheels/b4/7d/f8/eb241896ce6eabb73cb53844efadd6cf4f368800addd37e52d Successfully built pandas Installing collected packages: tzdata, six, numpy, python-dateutil, pandas changing mode of /opt/freeware/bin/f2py to 755 changing mode of /opt/freeware/bin/numpy-config to 755 Successfully installed numpy-2.2.0 pandas-0+untagged.35796.gca91dd4.dirty python-dateutil-2.9.0.post0 six-1.17.0 tzdata-2024.2 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
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
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.
The text was updated successfully, but these errors were encountered: