Re:Git Submodules as a Package Manager
by brabel on Saturday September 05, 2026 @04:00AM
(#49574223)
The global repository should support versions obviously.
Re:Git Submodules as a Package Manager
by diversen7 on Saturday September 05, 2026 @08:18AM
(#49575823)
Virtual venv existed before uv. So you could still just generate a virtual venv and then use pip to install packages in the local venv. (2007: virtualenv was released as a third-party tool).
Re:Git Submodules as a Package Manager
by zelphirkalt on Saturday September 05, 2026 @09:05AM
(#49576149)
Before uv there was poetry, and before poetry there was pipenv, before pipenv there was virtualenv. I wish people would stop portraying Python tooling completely wrong like that. uv is not the first tool to solve most problems in this space. It may be the best performing though and may be the best overall currently.
Re:Git Submodules as a Package Manager
by dlisboa on Saturday September 05, 2026 @11:12AM
(#49577337)
I think you’re underselling it. You’ve listed several projects with many thousand man hours in development.
It’s telling that in Python there have been multiple package managers over the years to fix the broken status quo. Typescript/Javascript notwithstanding, in other languages and environments you get the one tool that’s been there for over a decade without competitors.
Very few languages have suffered from the same package manager issues as JS/TS and Python.
Re:Git Submodules as a Package Manager
by no_wizard on Saturday September 05, 2026 @01:06PM
(#49578476)
Very few languages have also suffered their popularity
Re:Git Submodules as a Package Manager
by 0x20cowboy on Saturday September 05, 2026 @02:27PM
(#49579286)
Wouldn't yarn, grunt and gulp fall into this category?
Re:Git Submodules as a Package Manager
by c-hendricks on Saturday September 05, 2026 @02:33PM
(#49579332)
> Typescript/Javascript notwithstanding
Also, gulp / grunt weren't package managers.
Re:Git Submodules as a Package Manager
by steveklabnik on Saturday September 05, 2026 @02:08PM
(#49579109)
> the other extreme
These aren't the only two options.
This
> Pip installs everything system wide
does not inherently mean
> you can't have different versions of the same package
Re:Git Submodules as a Package Manager
by Lvl999Noob on Sunday September 06, 2026 @11:18AM
(#49587343)
You don't want to install all dependencies globally. You only want to cache them globally. Each project should resolve its own dependency tree independently. If the wanted version is already in cache, use that, otherwise download from the repository even if an older / newer version is present in cache (unless the user specifically says to use the cache only). As long as your dependencies are inert (they don't mess with the system just by being present), this will work perfectly fine.
For non-inert packages, such as applications installed via the language's dependency manager, that's a different use case and should be handled differently.
I'd argue the other extreme is less sane. Pip installs everything system wide and you can't have different versions of the same package without venv.
Even early NPM was much much better than the pre-uv Python situation. (TBH even with uv it still feels hacky at times.)