News for hackers. Stuff that matters.
Re:PDM: A Modern Python Package Manager by roomey on Thursday December 09, 2021 @04:14PM (#29503018)
Is virtualenv not very useful? I use pipenv and find it extremely useful having my various projects separate.

Also when deploying to kubernetes or whatever it works the same way

Re:PDM: A Modern Python Package Manager by majormunky on Thursday December 09, 2021 @04:42PM (#29503341)
So this is sort of like a virtualenv, except you don't need to activate anything, it just looks within the main project folder for a __pypackages__ folder, and uses that to look for packages
Re:PDM: A Modern Python Package Manager by dagw on Friday December 10, 2021 @05:23AM (#29508350)
I use pipenv

Pipenv is only focused on solving one problem, deploying complete packages you wrote to a server you have complete control over. It doesn't really care about the problem of developing applications and libraries for distribution and installation by third parties and on platforms running different python version/OS etc. than what it was developed on.

Re:PDM: A Modern Python Package Manager by bruiseralmighty on Thursday December 09, 2021 @04:24PM (#29503140)
I use only virtualenv and have never really had any issues with it for separating out my project environments.

Perhaps this is more of an issue with larger projects, but I also noticed that 'no need to use virtualenv' as a positive.

Re:PDM: A Modern Python Package Manager by qbasic_forever on Thursday December 09, 2021 @04:20PM (#29503105)
You kind of answered your own question. Virtualenv alone is too much work so you're using a tool like pipenv to streamline it. This is a similar idea to have less ritual and a faster developer workflow.
Re:PDM: A Modern Python Package Manager by johnhowardstein on Thursday December 09, 2021 @04:26PM (#29503174)
It's a single command more, and then you don't need to prefix everything with pipenv run.
Re:PDM: A Modern Python Package Manager by ggregoire on Thursday December 09, 2021 @07:53PM (#29505179)
> I use pipenv

> When deploying to kubernetes it works the same way

Can you elaborate on this?