Hacker News new | ask | show | jobs
by sreevisakh 2257 days ago
Many of those tools have important functions other than dependency isolation. Pyenv is perhaps the only tool mentioned that can be replaced by docker. However, pyenv has a marginal usability advantage over docker. You can set a python version or virtualenv to activate automatically in a project folder - no need to start a container.

Poetry is primarily a packager. Pipx installs python scripts like gita, poetry, youtube-dl etc as user commands. They cannot be replaced by docker.

Finally, I never had a good development experience inside a docker container. Pyenv, pipx and poetry play much nicer with the system development tools and give a better development experience.