this post was submitted on 07 May 2025
5 points (85.7% liked)

micro-blog-[ish]

70 readers
4 users here now

A place to say what you have to say, without requiring any context, theme, arguments, or ceremony. Be civil.

founded 5 months ago
MODERATORS
 

So maybe I'm spoiled by linux package managers, where you tell it to "upgrade" and things continue to work... to me that is just a natural expectation.

Well, it seems the python package manager (pip) will happily upgrade all your project's required dependencies, but not your optional dependencies... yet the old (incompatible) version is still visible at runtime.

Consequently, it seems to be an excepted norm in the python world that things may break after a "pip upgrade", at least on a single tool.

How do python devs put up with this? Apparently there are a bunch of hacks scattered across countless projects to test at runtime for incompatible deps, even though they have already dutifully specified the compatible version in the dependencies list.

What a mess.

you are viewing a single comment's thread
view the rest of the comments
[–] Piatro 6 points 2 days ago

My (limited) experience with the python ecosystem is: "Of course the built in package manager doesn't work, you idiot, you should use X" where "X" is a different package manager and no two python devs agree on which is "best" or "most common".