If a wheel is not available for the client platform, pip will try to install the latest version of the source distribution (.tar.gz or .zip) which I think is the cause of the problem here.
Unless the sdist is tagged with require_python and users have
recent-enough pip. Which is what was referred to earlier as
"Automagically".
This behavior is "new" (Nov/Dec 2016). The upstream patches were
written (in part) by the IPython/Jupyter team, for this exact purpose,
to not install an incompatible sdists.
(Works great I can share download graphs for IPython[0])
It _does_ require to have a version of pip which is not decades old
though, and may not work if you use a pypi proxy which is not pep 503
compliant (which happens, we got bug report, users then complained to
IT who fixed it).
--
M
On Mon, Nov 13, 2017 at 10:14 AM, Olivier Grisel
If a wheel is not available for the client platform, pip will try to install the latest version of the source distribution (.tar.gz or .zip) which I think is the cause of the problem here.
-- Olivier
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion