2 ms·
Tangent: Poetry can have very slow dependency resolution. It doesn't cut to the core of the problem: Pypi doesn't enforce clearly specifying dependencies. Many
by the__alchemist 5y ago
Tangent: Poetry can have very slow dependency resolution. It doesn't cut to the core of the problem: Pypi doesn't enforce clearly specifying dependencies. Many packages do, like in Wheels metadata, but Poetry ignores this, and installs each package.
There are some ways around it. For example, build an independent cache of metadata to use instead of Pypi directly.
For discussion on the topic, see this GH issue: https://github.com/python-poetry/poetry/issues/2094#issuecomment-825544033 https://github.com/python-poetry/poetry/issues/2094#issuecom...
This is now fixed, but for most of Poetry's life, it took some tricks to work on Python 3, at least on Windows; the workaround wasn't documented. So, it'd always assume Python 2. I can't remember the details, but tried and quit Poetry several times during its early life for this reason.