-
Importing fiona in a minimal docker container fails with 1.10
Downgrading to
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
FYI, libexpat seems to be included in 1.9.6 wheel, but not in 1.10:
|
Beta Was this translation helpful? Give feedback.
-
@soxofaan expat was removed from the slim image recently. There's some discussion at docker-library/python#989 about whether the slim image is compatible with the manylinux specs. Fiona 1.9.6 wheels included libexpat, yes. Fiona 1.10 wheels do not include libexpat because that library is part of the manylinux2014 profile and tooling was changed so that expat is no longer vendored: pypa/manylinux#1190. Installing libexpat in your image will solve the problem. |
Beta Was this translation helpful? Give feedback.
@soxofaan expat was removed from the slim image recently. There's some discussion at docker-library/python#989 about whether the slim image is compatible with the manylinux specs.
Fiona 1.9.6 wheels included libexpat, yes. Fiona 1.10 wheels do not include libexpat because that library is part of the manylinux2014 profile and tooling was changed so that expat is no longer vendored: pypa/manylinux#1190.
Installing libexpat in your image will solve the problem.