3 ms·
Can someone give like the 120 seconds elevator pitch to why you need any of this stuff? I know how to use pyenv, virtualenv, Poetry, autoenv, you name it. I jus
by bjourne 5y ago
Can someone give like the 120 seconds elevator pitch to why you need any of this stuff? I know how to use pyenv, virtualenv, Poetry, autoenv, you name it. I just never have found any practical use for it. But what if you want to have multiple versions of the same package installed? I don't. If some project I work on requires tf 2.x-1.0 and I only have tf 2.x.0 then I just rm -rf ~/.local/lib/python3.x and reinstall the dependencies anew. Furthermore, most Python maintainers do a terrific job in keeping up with breaking api changes in their dependencies (which I'm very grateful for) so it's quite rare that I need to use a Python package that is not the current release.
- dsabanin 5y agoWhat if you work on 2-10 different codebases that all use slightly different versions?
- deleted 5y ago[deleted]
- haolez 5y agoThis probably makes a difference for hugo enterprise monorepos. I myself have a workflow similar to yours, but with the following mindset: my local environment is an approximation of what will be in production. I don't need every version to match and if I ever encounter a corner case where this is not true, I'll just deal with it and move on.
- roesel 5y agoWhat if you're simultaneously working on two projects with different version requirements and don't want to rm -rf and reinstall every day?
- bjourne 5y agoI don't do that.