5 ms·
Lucky for you, there's a new PEP proposing just that: https://discuss.python.org/t/pep-704-require-virtual-environments-by-default-for-package-installers/22846/
by ivoflipse 4y ago
Lucky for you, there's a new PEP proposing just that: https://discuss.python.org/t/pep-704-require-virtual-environments-by-default-for-package-installers/22846/61 https://discuss.python.org/t/pep-704-require-virtual-environ... Written by the author of this blog post no less!
However, you'll find that as with all packaging discussions there are people opposing it, because their workflow doesn't match yours and they don't want to change how they work. We, as a community, need a way to resolve such stalemates or I fear we won't make much headway
- earthboundkid 4y agoWe need some person, a nice person, a benevolent person, who could some how tell other people what to do, dictate it if you will, and it would be best if they could keep up this job for the rest of his or her life. We’ll call them, the Friendly Language Uncle.
- numbsafari 4y agoI’d prefer a crazy aunt to a creepy uncle… but maybe let’s leave family out of it altogether.
- uranusjr 4y agoParent is referring to a long-running (but somewhat obscure at this point unfortunately) joke https://peps.python.org/pep-0401/ https://peps.python.org/pep-0401/
- numbsafari 4y agoI know. I was trying to say "fuck the patriarchy" with a bit more color.
- numbsafari 4y agoMy solution to this problem has been … to stop using python as a universal tool for all things and instead use other tools purpose built for those purposes. Unfortunately (or not) that basically means no more python. Because it is definitely a “Jack of all trades, master of none”. Focusing on programming languages that just want to be programming languages and not also a system service makes life so much better. You end up using languages that produce self-contained, easily shippable binaries, or languages with easily embeddable runtimes, instead of trying to write code that has to somehow survive in a “diverse ecosystem”, which generally makes it overly bloated and brittle as it grows so many appendages to solve so many orthogonal incompatibilities it comes to resemble enterprise open source…
- Kwpolska 4y agoThere’s a competing and saner PEP that actually proposes local package directories (which are not venvs): https://discuss.python.org/t/pep-582-python-local-packages-directory/963/292 https://discuss.python.org/t/pep-582-python-local-packages-d...