I’m a big conda fan, but most of those quotes are simply saying the obvious
— pip is not for anything other than Python packages — which is well known.

I would argue that pip is a *Python* package manager— maybe not as full
featured as it could be, but very useful none the less.

-CHB


On Fri, Feb 18, 2022 at 3:53 PM Steven D'Aprano <st...@pearwood.info> wrote:

> On Sat, Feb 19, 2022 at 01:35:25AM +1100, Chris Angelico wrote:
>
> > > Isn't the issue here that pip is not a full package manager, but just
> an
> > > installer?
> > >
> >
> > Hmm, what do you expect it to be? It installs, it removes, it resolves
> > dependencies, it upgrades.
>
> I don't have any expectations either way. My requirements for pip are so
> low I barely even know what a requirements file is :-)
>
> But pip stands for "pip installs packages", not "pip manages packages".
> For example:
>
> - there are no rollbacks and it doesn't handle revisions;
>
> - pip uninstall is completely unaware of dependencies;
>
> https://github.com/pypa/pip/issues/3867
>
> When pip resolves dependencies, it does it in the simplest possible way
> that *usually* works. It has no satisfiability solver.
>
> "No effort is made to ensure that the dependencies of all packages are
> fulfilled simultaneously. This can lead to environments that are broken
> in subtle ways, if packages installed earlier in the order have
> incompatible dependency versions relative to packages installed later in
> the order."
>
> https://www.anaconda.com/blog/understanding-conda-and-pip
>
> SageMath: "Pip is NOT a package manager. Pip is just a Python module
> installer, it does very little to help install non-Python dependencies,
> and is not very smart about version handling."
>
> https://wiki.sagemath.org/days77/packaging#Pip.2FPyPI
>
> OpenSuse: "The way pip and wheels interact with each other seems to
> demonstrate that pip is not a package manager but more a python module
> manager."
>
>
> https://lists.opensuse.org/archives/list/fact...@lists.opensuse.org/message/LQZTHDFTHHP2NS4RP36DUZPVM6YDW2HV/
>
>
> --
> Steve
> _______________________________________________
> Python-ideas mailing list -- python-ideas@python.org
> To unsubscribe send an email to python-ideas-le...@python.org
> https://mail.python.org/mailman3/lists/python-ideas.python.org/
> Message archived at
> https://mail.python.org/archives/list/python-ideas@python.org/message/OUNIZGPKVPH7EHRDTF47O6BESX3KXH4B/
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-- 
Christopher Barker, PhD (Chris)

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/GIF3ZJ5C3LKW6ZDZGVNG4DSJWCC557CF/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to