News for hackers. Stuff that matters.
Re:Making pip installs a little less slow by shp0ngle on Sunday May 29, 2022 @12:49AM (#31546479)
I like pnpm, which is like npm, but does caching by default, and does some other optimizations. (p is for parallel, I think)

The negative: sometimes it plays bad with some packages. Sometimes you need the (stupidly named) —shamefully-hoist, sometimes even that doesn’t help.

pnpm by default does NOT have the flat structure in node_modules but puts into separate sub-folders; sometimes it plays bad with some dependencies that expect the flat structure (usually webpack-related cludges)

But if you are starting fresh, or can spend some time on debugging, pnpm is amazing.

Re:Making pip installs a little less slow by 8n4vidtmkvmk on Sunday May 29, 2022 @01:31AM (#31546671)
pnpm is plug n play... modules i think.
Re:Making pip installs a little less slow by shp0ngle on Sunday May 29, 2022 @02:33AM (#31546956)
Oh. Well that makes a bit less sense than “parallel”, honestly. Haha