Open nifadyev opened 3 weeks ago
Poetry
is a good tool compared to pip
but it has some major disadvantages:
pyproject.toml
Docker
installation. There are multiple installation options but none of them is canonicalMaybe some alternatives (pipenv
, pdm
, uv
) should be considered as a replacement.
I prefer to use uv because it replicates the pip syntax: pip <command> -> uv pip <command>
while being noticeably faster and actively developing, e.g. support for workspaces, running a package without installation, python version control
my proof:
@batazor , uv
looks promising but don't you think it is not production ready? Have you used it on production? ruff
became stable after some years of "beta" but linter/formatter is not so critical as dependency manager and command executor. We should be extra cautious with such crucial project component
@nifadyev You can read about compatibility with pip here
In the first versions, some flags were missing, but currently, all major flags and parameters are supported
Thanks, @batazor , uv
is evolving very fast. I've read the article about compatibility, LGTM
I would suggest trying uv
on some low/middle priority internal projects and then expand its usage to more complex internal projects. And only after successful migration to uv
on our project, we may start using it on client projects.
uv
seems to be the most promising dependency management tool of them all right now
Let's discuss improvements and changes related to dependency management. If you have any tool, package, config, or script to share, feel free to suggest it into this discussion.