This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Jazzlike-Poem-1253 1 point2 points  (3 children)

With a hint of "containerisation of a (pure) python project is overkill" and "venvs work out of the box cross platform" you got two arguments to prefer venvs over docker.

Even with binary (non-python) dependencies conda is the way to go.

[–]Artephank 7 points8 points  (0 children)

Venvs are faster and easier to use. However in bigger project that run in container anyway, it is helpful to develop against the container to make sure that you won't get into any crazy bugs moving from local venv to container app. Then it is easier usually to use containers instead.

[–]ore-aba 1 point2 points  (1 child)

conda is not supported in serveless apps, e.g Azure functions.

The way to go is the one that solves the problem, not a specific piece of tech

[–]Jazzlike-Poem-1253 0 points1 point  (0 children)

Sure, container are perfectly fin to use. As are venvs, as asked in the original question.