-
Notifications
You must be signed in to change notification settings - Fork 59
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
Exclude argument not excluding library #207
Comments
Looks like exclusion is performed too late in the process of finding a library. It's done after rpaths are resolved which causes the error seen here. I think |
We may have come across this in scipy. We have this situation:
I don't know the code base. Is this something I could easily try? |
This sounds like a complex case slightly unrelated to this issue. It sounds correct that If the extra paths you're referring to are rpaths then Otherwise the dylibs need to link to the same |
Right, when trying to write in words the algorithm, I came to the conclusion that you are correct:
This was the solution we chose. Sorry for hijacking this issue. |
I am still willing to try to make a PR to solve this issue, if help is needed. |
Describe the bug
When providing the
--exclude
argument to excludelibarrow
andlibarrow_python
from the wheeldelocate.libsana
still claims it is unable to find the library instead of ignoring it.To Reproduce
This fails within our CI using
pypa/[email protected]
, specifically ourrepair-wheel-command
isI've tried plenty of variations of
--exclude arrow
,--exclude libarrow --exclude libarrow_python
and such, the docs and #106 lead me to believe that this should be excluding based on substring presence.Expected behavior
Similarly to
auditwheel
, thelibarrow
andlibarrow_python
should be excluded from the repair attempt.Wheels used
I don't have access to a MacOs system to recreate the wheel but the relevant branch is AequilibraE/aequilibrae#510
We're attempting to link against the pyarrow Cython and arrow C++ APIs using Cython.
Platform:
Additional context
I've attached the full logs of a failed CI run, the relevant section is
Build wheels
or theBuild wheels on macos-latest/4_Build wheels.txt
file. Here's a small section as welllogs_11438.zip
The text was updated successfully, but these errors were encountered: