<p dir="ltr"><br>
On 2 Nov 2013 11:59, "Donald Stufft" <<a href="mailto:donald@stufft.io">donald@stufft.io</a>> wrote:<br>
><br>
><br>
> On Nov 1, 2013, at 9:56 PM, Nick Coghlan <<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>> wrote:<br>
><br>
>><br>
>> On 2 Nov 2013 11:10, "Donald Stufft" <<a href="mailto:donald@stufft.io">donald@stufft.io</a>> wrote:<br>
>> ><br>
>> ><br>
>> > On Nov 1, 2013, at 8:45 PM, Nick Coghlan <<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>> wrote:<br>
>> ><br>
>> >><br>
>> >> On 2 Nov 2013 09:15, "Paul Moore" <<a href="mailto:p.f.moore@gmail.com">p.f.moore@gmail.com</a>> wrote:<br>
>> >> ><br>
>> >> > On 1 November 2013 23:10, Greg Ewing <<a href="mailto:greg.ewing@canterbury.ac.nz">greg.ewing@canterbury.ac.nz</a>> wrote:<br>
>> >> > > Will there be a mechanism to get the actual MacOSX version<br>
>> >> > > needed into the metadata, rather than the one you happen<br>
>> >> > > to be building on?<br>
>> >> ><br>
>> >> > There can be anything - the question here is really whether anything<br>
>> >> > is *needed*, or is what we have sufficient.<br>
>> >> ><br>
>> >> > If it's sufficient, we can lift the restriction on uploading OSX<br>
>> >> > wheels and we're done.<br>
>> >> > If it's not, we need to keep the restriction until the wheel code is<br>
>> >> > updated to provide sufficiently flexible tags. We can take as long as<br>
>> >> > we need to define and implement those. (When I say "we" here, as a<br>
>> >> > Windows user I really mean "you", of course :-))<br>
>> >><br>
>> >> I spoke to Donald about this on IRC yesterday, and I take the following view:<br>
>> >><br>
>> >> * the key relevant points about users on Windows and Mac OS X are that most (perhaps only many on Mac OS X) tutorials and introductory courses will direct them to the binary installers on <a href="http://python.org">python.org</a>, and such users are highly unlikely to have a C compiler installed, so their current "out of the box" user experience with pip is that it doesn't work for even the simplest of C extensions.<br>

>> >><br>
>> >> * by contrast, in other *nix environments (including cygwin on Windows and homebrew etc on Mac OS X), using the system/environment Python is far more common, and a C compiler is far more likely to be available<br>

>> >><br>
>> >> * accordingly, the following defaults make sense for pip 1.5:<br>
>> >> - allow wheel files from the index server for Windows and Mac OS X<br>
>> >> - allow local wheel files everywhere<br>
>> >><br>
>> >><br>
>> ><br>
>> > Just to be clear about things, pip already supports any wheel from any source *except* for <a href="http://pypi.python.org">pypi.python.org</a>.<br>
>> ><br>
>> >> * the following options should also be available:<br>
>> >> - force use of wheel files from the index server (useful for private index servers)<br>
>> ><br>
>> > At the exclusion of sdists? Not sure I see a point?<br>
>><br>
>> I didn't realise wheel files were already permitted by default for private index servers. With that clarification, I agree there's no need for this option.<br>
>><br>
>> >><br>
>> >> - prevent use of wheel files from the index server (useful to force local builds on Windows and Mac OS X)<br>
>> ><br>
>> > I don’t think this needs to be a special option, the solution for the below should work fine here.<br>
>><br>
>> If someone adds a new dependency, they should be able to easily say "build anything that I don't already have a local wheel file for from source". By contrast, I'd expect "--no-use-wheel" to rebuild everything (even stuff with already cached wheels).<br>

><br>
> The “local wheel” path isn’t the greatest right now, but to do this<br>
><br>
> # Assumes you’ve already populated the wheelhouse with pip wheel<br>
> pip install —find-links ~/.pip/wheelhouse whatever<br>
><br>
> Wheels take precedence over sdists.</p>
<p dir="ltr">Cool - sounds like allowing wheels by default on both Windows and Mac OS X and offering a --no-use-wheel option are the only changes needed then.</p>
<p dir="ltr">Cheers,<br>
Nick.<br></p>
<p dir="ltr">>><br>
>> Cheers,<br>
>> Nick.<br>
>><br>
>> >><br>
>> >> - prevent use of wheel files (useful to force a local rebuild, overwriting the wheel cache)<br>
>> ><br>
>> > I do think we’ll need a —no-use-wheel<br>
>> ><br>
>> >> It would be good to enable the use of index server wheel files everywhere by default, but we need to add some kind of "environment" or "variant" marker to the wheel naming scheme before we can do that (i.e. wheel 1.1, which isn't planned until the 1.6 time frame).<br>

>> >><br>
>> >> There are also problems with how the abi and platform tags are set and interpreted that need to be resolved before we can expand wheel sharing through PyPI beyond the environments defined by the <a href="http://python.org">python.org</a> binary installers.<br>

>> >><br>
>> >> Cheers,<br>
>> >> Nick.<br>
>> >><br>
>> >> ><br>
>> >> > Paul<br>
>> >> > _______________________________________________<br>
>> >> > Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
>> >> > <a href="https://mail.python.org/mailman/listinfo/distutils-sig">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
>> >><br>
>> >> _______________________________________________<br>
>> >> Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
>> >> <a href="https://mail.python.org/mailman/listinfo/distutils-sig">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
>> ><br>
>> ><br>
>> ><br>
>> > -----------------<br>
>> > Donald Stufft<br>
>> > PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA<br>
>> ><br>
><br>
><br>
><br>
> -----------------<br>
> Donald Stufft<br>
> PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA<br>
><br>
</p>