Optimizing Poetry for a smaller install size #9322
alexanderankin
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
You can see this thread https://github.com/orgs/python-poetry/discussions/1879 :-) |
Beta Was this translation helpful? Give feedback.
1 reply
-
python-poetry/cleo#415 already plans to replace rapidfuzz with the built in difflib library in the next major release of cleo |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks, in other languages you dont have to install the package manager (java - copy some jars, node - npm is in the node images, golang - copy a binary) - but in python we have this wonderful thing called poetry, but we have to add it to our
Dockerfile
s now.while yes, it strictly speaking doesn't matter if you use multistage builds and just copy the venv, but installing poetry itself takes some time and bandwidth because, e.g. cleo depends on rapidfuzz, which is responsible for 14 out of the extra 49 megabytes - but maybe it would be advantageous to slim down the dependency tree for a
[minimal]
version somehow anyways?Beta Was this translation helpful? Give feedback.
All reactions