The worst part is I have *no fucking idea* how I installed pnpm. The single linux utility I want most is something that looks at a file and tells you which of the nine package managers on the system it was installed by (or if none of them, tells you that). Actually wait a fucking minute pnpm *is* a package manager. Why can't it fucking upgrade itself
Verify latest release I verified that the issue exists in the latest pnpm release pnpm version 9.12.2 Which area(s) of pnpm are affected? (leave empty if unsure) CLI Link to the code that reproduce...
@thisismissem so in order for it to work as written i need to EITHER downgrade pnpm to the version in the file or upgrade pnpm to a version which can survive with a non-explicit pnpm version number. fantastic
@peter_mcmahan spack does an alternate version of this where it serves as a package manager for every kind of software and has aforementioned huge tangled nest of messy heuristics to find install paths for a package from other package managers for its "externals" feature so you can use an existing install instead of spack building everything
@hipsterelectron @peter_mcmahan ugh, I guess I should look into that - I do need a tool that will spider out to all of the known package managers on a system and tell me where a file came from (then if it’s been modified). Apparently, we need this because we don’t trust any of our engineers - which is kinda fair, we’re tricksy and have short memories for some things like weird shit we’ve done to our computers.
@c0dec0dec0de @peter_mcmahan i'm always pissed off when a package manager can't even tell me the reverse index of which package produced a given file all i can do is query package => file in pacman iiuc
@hipsterelectron @peter_mcmahan fucking pip doesn’t even know if it installed the package or if it came from the platform/distro. Nevermind that you can have an unbounded number of Python installations or partial installations via venv.
@c0dec0dec0de @peter_mcmahan i think that could be worth a PEP tbh i'm not sure of the specifics (i've mostly worked on resolving and downloading) but i think it used to be more difficult to determine this and may be tractable now i just made that up though
@hipsterelectron @c0dec0dec0de @peter_mcmahan if you create a heuristics set that covers all previous pythons, and you set a rule that explicit metadata must be included by future pythons, yu have solved the problem
mcc
in reply to mcc • • •mcc
in reply to mcc • • •EDIT: Wait. Oh my god. Fuck this
infosec.exchange/@thebestnom/1…
thebestnom
2025-05-13 23:26:05
mcc
in reply to mcc • • •pnpm fails if `packageManager` is specified on package.json · Issue #8696 · pnpm/pnpm
GitHubkouhai, of the health issues
in reply to mcc • • •Oh
oh noooooooo
mcc
in reply to kouhai, of the health issues • • •_Pear
in reply to mcc • • •corepack enableandcorepack enable pnpmdoes it install/use the correct version?mcc
in reply to _Pear • • •Emelia 👸🏻
in reply to mcc • • •mcc
in reply to Emelia 👸🏻 • • •mcc reshared this.
Xe
in reply to mcc • • •mcc
in reply to Xe • • •Man aging with pumpkin pie
in reply to mcc • • •Peter McMahan
in reply to mcc • • •mcc
in reply to Peter McMahan • • •d@nny disc@ mc²
in reply to Peter McMahan • • •0xC0DEC0DE07E9
in reply to d@nny disc@ mc² • • •d@nny disc@ mc²
in reply to 0xC0DEC0DE07E9 • • •0xC0DEC0DE07E9
in reply to d@nny disc@ mc² • • •d@nny disc@ mc²
in reply to 0xC0DEC0DE07E9 • • •mcc
in reply to d@nny disc@ mc² • • •thebestnom
in reply to mcc • • •mcc
in reply to thebestnom • • •