News for hackers. Stuff that matters.
Re:Is anyone using PyPy for real work? by sanderjd on Monday July 31, 2023 @11:33AM (#36944177)
Yep, I screw things up all the time with packages in homebrew that are written in python, when I forget to switch into a virtual env before doing stuff with pip. Debian's solution seems very sensible. And it is the same solution as homebrew, I suppose, as long as you don't interact with any of the homebrew-installed packages via pip. But I find it quite easy to accidentally do that.
Re:Is anyone using PyPy for real work? by tech2 on Monday July 31, 2023 @11:54AM (#36944526)

  export PIP_REQUIRE_VIRTUALENV=1
has been quite helpful in the past as pip then refuses to just install things directly.
Re:Is anyone using PyPy for real work? by rlpb on Monday July 31, 2023 @12:53PM (#36945446)
There is https://peps.python.org/pep-0668/ which suggests that in the future this kind of behaviour will be default. I'm not sure of the specifics but I have seen lots of conversation about it in Debian circles.
Re:Is anyone using PyPy for real work? by sanderjd on Monday July 31, 2023 @12:56PM (#36945497)
Nice!