evrone / evrone-django-template

Simple and ready to go Django Template.
MIT License
17 stars 2 forks source link

Discussion about dependency management #6

Open nifadyev opened 3 weeks ago

nifadyev commented 3 weeks ago

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.

nifadyev commented 3 weeks ago

Poetry is a good tool compared to pip but it has some major disadvantages:

Maybe some alternatives (pipenv, pdm, uv) should be considered as a replacement.

batazor commented 3 weeks ago

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:

nifadyev commented 3 weeks ago

@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

batazor commented 2 weeks ago

@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

nifadyev commented 2 weeks ago

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.

grigoryvp commented 2 weeks ago

uv seems to be the most promising dependency management tool of them all right now