On Wed, 26 Sep 2018 at 01:56, Matthias Klose <d...@ubuntu.com> wrote:
> On 24.09.2018 16:33, Jeremy Stanley wrote:
> > PEP 394 already allows bin/python in a Python 3.x virtual
> > environment to invoke python3. Distribution packaging similarly
> > works around these issues by patching shebang lines to refer to an
> > explicit major interpreter version. This does leave installing
> > sdists/wheels into the global system context as a broken use case,
> > but it's become increasingly popular within the Python packaging
> > community to declare that particular case dangerous and unsupported:
> >
> >     https://github.com/pypa/pip/issues/4805#issuecomment-381404626
>
> pip still unfortunately allows you to install and remove dpkg/rpm based
> installations, and with the pypi prominent suggestion to use pip install
> everywhere, that probably doesn't get better.

It should if system deb packages were to consistently populate the
INSTALLER file with a value other than pip:

* https://github.com/pypa/pip/issues/5346 (disables the pip upgrade message)
* https://github.com/pypa/pip/issues/5605 (figure out a way to tell
pip which INSTALLER files to leave alone)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Linux-sig mailing list
Linux-sig@python.org
https://mail.python.org/mailman/listinfo/linux-sig

Reply via email to