4 ms·
I don't really use Python much any more, and haven't for a couple of years. I may have some Python projects coming up later this year though. What's the current
by dkdbejwi383 6y ago
I don't really use Python much any more, and haven't for a couple of years. I may have some Python projects coming up later this year though. What's the current recommended way to deal with Python versions and isolating dependencies? Are there any good tools that simplify virtual environments &c or am I best off just installing my required Python and packages in a Docker container?
- shadow28 6y agoThink pipenv is becoming the de facto standard for package management. https://realpython.com/pipenv-guide/ https://realpython.com/pipenv-guide/
- nerdponx 6y agoIt is popular, but it is not standard by any means. There are many voices against it in the Python community who prefer Poetry, or who have stuck with setuptools because there is no mature replacement yet.
- easton 6y agoIs pipenv still being patched? When I moved to Poetry, I did because there were outstanding issues for pipenv that made it bug out with my setup (pretty sure it was a WSL thing?) but the maintainer hadn’t committed anything in months and wasn’t accepting PRs. Poetry has been solid, at least lately.
- yhoiseth 6y agoI’ve tried a few, and my favourite combination is pyenv-virtualenv and pip-tools.
- ForHackernews 6y agoPoetry is very good https://python-poetry.org/ https://python-poetry.org/ better than pipenv in my experience.