Re:Overview of Python dependency management tools
by pydry on Monday June 01, 2020 @12:45PM
(#23380534)
It's a lot more of a pressing concern when you have an average of 1,200 dependencies per project.
(I'm actually not sure if it is the average but my anecdotal experience is that it's an order of magnitude higher than python, and 1200 wouldn't be unusual).
Re:Overview of Python dependency management tools
by nicoburns on Monday June 01, 2020 @02:27PM
(#23381916)
That's probably quite accurate for front-end projects which pull in a ton of packages for 1. A compatibility layer wih older browsers. 2. Build tooling.
Node projects tend to have a lot smaller dependency graphs.
Re:Overview of Python dependency management tools
by nouveaux on Monday June 01, 2020 @12:47PM
(#23380553)
Yes we all learned that virtual envs are not the right way to do it. Node definitely got this portion right.
I wish Python can abandon virtual envs. This is the most annoying part of setting up a project.
Re:Overview of Python dependency management tools
by mariokostelac on Monday June 01, 2020 @03:15PM
(#23382486)
How come other tools don't just replicate successful models?
Node doesn't even need something like venv since module lookup is always local.
Also no problem with dependency hell. Each dependency can have its own private dependencies, even different versions of dependencies shared by sibling modules. Tools like yarn/npm can remove duplicates across a project.