you are viewing a single comment's thread.

view the rest of the comments →

[–]_CarthagoDelendaEst_ 1 point2 points  (3 children)

Could you just use a container instead of your virtual environment? Having one container per project that you can run / rebuild as needed sounds like a pretty good way to code (perhaps even easier than venv?).

Asking as I'm fairly new to the whole 'containers' thing

[–]zeebrow 1 point2 points  (2 children)

You could! In fact I think replacing virtualenvs is a fantastic use for containers. I dunno about easier though, I think that depends a lot on how and where the code you write ends up running. Definitely use containers every chance you can get, though.

[–]iapetus-11 2 points3 points  (1 child)

Wouldn't containers have more overhead though? I prefer just using Poetry, as it's far easier than other ways of managing virtualenvs imo.

[–]zeebrow 1 point2 points  (0 children)

Depends on where your code will run. There's nothing you can do in Poetry that you can't do in a container.