<#3050 [BUG] flytekit python3.10 image size is 3.1...
# flytekit
c
#3050 [BUG] flytekit python3.10 image size is 3.14G Issue created by eapolinario Describe the bug The size of the python 3.10 images is substantially higher than the other images:
Copy code
❯ docker images "<http://ghcr.io/flyteorg/flytekit:py3.*-1.2.3|ghcr.io/flyteorg/flytekit:py3.*-1.2.3>"
REPOSITORY                  TAG            IMAGE ID       CREATED       SIZE
<http://ghcr.io/flyteorg/flytekit|ghcr.io/flyteorg/flytekit>   py3.8-1.2.3    3c5e66a569f3   2 weeks ago   1.38GB
<http://ghcr.io/flyteorg/flytekit|ghcr.io/flyteorg/flytekit>   py3.9-1.2.3    58455aa0ad77   2 weeks ago   1.37GB
<http://ghcr.io/flyteorg/flytekit|ghcr.io/flyteorg/flytekit>   py3.10-1.2.3   cae5989c0dab   2 weeks ago   3.14GB
<http://ghcr.io/flyteorg/flytekit|ghcr.io/flyteorg/flytekit>   py3.7-1.2.3    47e4c86232b6   2 weeks ago   1.33GB
After closer inspection, the
tangled_up_in_unicode
package is the culprit:
Copy code
❯ docker run --rm -it <http://ghcr.io/flyteorg/flytekit:py3.10-1.2.3|ghcr.io/flyteorg/flytekit:py3.10-1.2.3> du -h --max-depth 1 /usr/local/lib/python3.10/site-packages | grep tangled
48K     /usr/local/lib/python3.10/site-packages/tangled_up_in_unicode-0.2.0.dist-info
1.8G    /usr/local/lib/python3.10/site-packages/tangled_up_in_unicode
That project is tracking the issue in dylan-profiler/tangled-up-in-unicode#10. Expected behavior The sizes of all images should be close to each other. Additional context to reproduce . Screenshots No response Are you sure this issue hasn't been raised already? • Yes Have you read the Code of Conduct? • Yes flyteorg/flyte