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
{{ message }}
Repository navigation
Recent python:3.9-slim causing some libraries to break after removing --with-system-expat #984
Hey, thanks for your great effort in this project and I apologize ahead if my issue is not an issue :).
With the recent 3.9-slim, after merging #980 , the --with-system-expat flag was removed along with libexpat-dev, this causes all my images to break since a requirement I use extensively , fiona, needs it.
Assuming this change is mandatory, I would be happy for a solution, workaround or whatever can help me get through it. Many thanks!
Reacted by Biel Stela, Ben Pilkerton and Alex Ball
same issue with 3.12-slim and another geospatial library (GDAL). Fixed it by pinning to 3.12.6 but I guess the way to go is to explicitly install this kind of dependencies by hand in the dockerfile like
Activity
mati-o commentedon Oct 19, 2024
Found a workaround myself. From the
README:So I added to my dockerfile:
RUN apt-get update && apt-get install libexpat1 -yRight after the
FROMand the issue is gone.So, it can be closed if the removal of
--with-system-expatwas intentionalBielStela commentedon Oct 21, 2024
same issue with 3.12-slim and another geospatial library (GDAL). Fixed it by pinning to 3.12.6 but I guess the way to go is to explicitly install this kind of dependencies by hand in the dockerfile like