You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to come up with an experiment to understand how a big package containing many shared objects could be divided in smaller packages all containing some shared objects and allowing each wheel to rely on the shared objects provided by the other wheel.
It seemed to me that --exclude could have allowed that when the python libraries are imported in the proper order, so I created https://github.com/amol-/wheeldeps
If my understanding is correct, the mangling of shared objects would prevent that experiment from being successful, because once auditwheel repair is applied, one package would provide libfoo-ef63151d.so (the package where libfoo is embedded), but the other package would look for libfoo.so as it had --exclude libfoo.so and thus would not recognise libfoo-ef63151d.so as the library that it is looking for.
What would be the best way to handle this use case?
The text was updated successfully, but these errors were encountered:
I was able to make my proof of concept work correctly by applying the name mangling done by auditwheel to the excluded library too ( amol-/wheeldeps@6b1f8af ).
But that seems like an hack and not something that might be a long term solution.
I tried to come up with an experiment to understand how a big package containing many shared objects could be divided in smaller packages all containing some shared objects and allowing each wheel to rely on the shared objects provided by the other wheel.
It seemed to me that
--exclude
could have allowed that when the python libraries are imported in the proper order, so I created https://github.com/amol-/wheeldepsIf my understanding is correct, the mangling of shared objects would prevent that experiment from being successful, because once
auditwheel repair
is applied, one package would providelibfoo-ef63151d.so
(the package where libfoo is embedded), but the other package would look forlibfoo.so
as it had--exclude libfoo.so
and thus would not recogniselibfoo-ef63151d.so
as the library that it is looking for.What would be the best way to handle this use case?
The text was updated successfully, but these errors were encountered: