Add option to add an extra lib name tag to wheel's short hash#503
Add option to add an extra lib name tag to wheel's short hash#503
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #503 +/- ##
==========================================
- Coverage 91.94% 91.81% -0.14%
==========================================
Files 20 20
Lines 1266 1270 +4
Branches 279 280 +1
==========================================
+ Hits 1164 1166 +2
- Misses 57 58 +1
- Partials 45 46 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I don't understand what problem gets solved by this. Can you explain the issue you're trying to solve ? |
|
@mayeut my problem is that the Rasterio https://pypi.org/project/rasterio/ and Fiona https://pypi.org/project/fiona wheels, which I maintain, and are widely used in the GIS field, carry some of the same libraries and are sometimes used together. Thus, users can find themselves loading different shared libraries that have the same name and same short hash. Some of the cornerstone GIS libraries, like GEOS and GDAL, are particular about being loaded twice. I've found that adding extra bits to the shared library names in addition to the short hash (which is likely the same for both rasterio and fiona) helps disambguiate the libraries and prevent some conflicts. It's a pretty special problem, I admit. |
I've been using this on wheels for my Fiona and Rasterio projects, which may be used together and which have a score of potentially overlapping dependencies. If it's not deemed useful to auditwheel, I understand.