Re:Python Pip 20.3 Released with new resolver
by jtdev on Monday November 30, 2020 @06:41PM
(#25260508)
What does NPM/yarn do better than virtualenv/pip?
“Added 17000332 packages (including is-even) 875 vulnerabilities found, have fun with that info. Yours truly, NPM”
Re:Python Pip 20.3 Released with new resolver
by linkdd on Monday November 30, 2020 @08:38PM
(#25261283)
Ẁhile I agree the situation is ridiculous, what prevents anyone to do the same in Python?
I can publish is-even on PyPI if I want, is that Pip's fault?
Re:Python Pip 20.3 Released with new resolver
by cookiecaper on Monday November 30, 2020 @08:56PM
(#25261410)
It's a difference in the community's engineering values. JavaScript devs pull in a dependency for virtually everything, whereas Python distributes an extensive standard library with the language. It's less important that the same thing is hypothetically possible in both communities and more important that specific communities have chosen to use similar toolkits differently.
The methodology of specifying your core dependencies, but also having locked version of your dependency's dependencies works really well.
AND you can easily export to requirements.txt if you prefer to use that in production.