Skip to content
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

BUILD: installation using wheels fails when using nix + uv2nix #61079

Open
1 task done
cpcloud opened this issue Mar 7, 2025 · 2 comments
Open
1 task done

BUILD: installation using wheels fails when using nix + uv2nix #61079

cpcloud opened this issue Mar 7, 2025 · 2 comments
Assignees
Labels
Build Library building on various platforms
Milestone

Comments

@cpcloud
Copy link
Member

cpcloud commented Mar 7, 2025

Installation check

Platform

Linux

Installation Method

Other

pandas Version

2.2.3

Python Version

3.10

Installation Logs

   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/timedeltas.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/offsets.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/strptime.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/parsing.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/nattype.cpython-313t-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/period.cpython-313t-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/tzconversion.cpython-313-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/period.cpython-313-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/base.cpython-313-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/ccalendar.cpython-313-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/parsing.cpython-39-aarch64-linux-gnu.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/parsing.cpython-313t-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/np_datetime.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/conversion.cpython-39-aarch64-linux-gnu.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/conversion.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/aggregations.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/aggregations.cpython-313t-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/indexers.cpython-313-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/indexers.cpython-313t-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/indexers.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/aggregations.cpython-39-aarch64-linux-gnu.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/indexers.cpython-39-aarch64-linux-gnu.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/aggregations.cpython-313-aarch64-linux-musl.so
   > auto-patchelf failed to find all the required dependencies.
   > Add the missing dependencies to --libs or use `--ignore-missing="foo.so.1 bar.so etc.so"`.

This only happens with python 3.10 + aarch64 + linux, and I noticed that those wheels contain the associated aarch64 shared object file for every python version supported by pandas at the time, and that wheel contains libgcc_s and libstdc++ while no other wheels have these libraries.

You can also see that the size of this particular wheel is much larger than similar wheels for the same version.

Image

This doesn't block me in any way, but I thought I'd report it upstream in case it's something y'all want to fix.

@cpcloud cpcloud added Build Library building on various platforms Needs Triage Issue that has not been reviewed by a pandas team member labels Mar 7, 2025
@cpcloud cpcloud changed the title BUILD: installation using wheels fails o BUILD: installation using wheels fails when using nix + uv2nix Mar 7, 2025
@rhshadrach
Copy link
Member

Thanks! cc @lithomas1

@rhshadrach rhshadrach removed the Needs Triage Issue that has not been reviewed by a pandas team member label Mar 8, 2025
@lithomas1 lithomas1 self-assigned this Mar 8, 2025
@lithomas1 lithomas1 added this to the 2.3 milestone Mar 8, 2025
@lithomas1
Copy link
Member

Thanks for the report.

I'll keep an eye out next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms
Projects
None yet
Development

No branches or pull requests

3 participants