|
Importing fiona in a minimal docker container fails with 1.10 Downgrading to |
Answered by
sgillies
Jan 9, 2025
Replies: 2 comments 1 reply
|
FYI, libexpat seems to be included in 1.9.6 wheel, but not in 1.10: |
0 replies
|
@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. |
1 reply
Answer selected by
soxofaan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@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.