[Distutils] SOABI for Unicode ABI on 2.x (was: wheel 0.27.0 released)
Nick Coghlan
ncoghlan at gmail.com
Sat Feb 6 06:18:39 EST 2016
On 6 February 2016 at 20:35, Marius Gedminas <marius at gedmin.as> wrote:
> On Sat, Feb 06, 2016 at 03:04:48PM +1000, Nick Coghlan wrote:
>> That means the only folks that seem likely to miss out on pre-built
>> binaries this way would be Python 2.7 pyenv users.
>
> And people who run build Python 2.7 with './configure && make && make install'
If folks can handle building their own Python, handling building other
projects isn't that much worse (although stumbling across FORTRAN
dependencies may still be a surprise).
> Why does upstream Python default to UCS-2 builds on Linux anyway?
That default long predates my time on the core development team, but
my guess is that it was influenced by that also being the default for
Windows and the JVM, before folks were really aware of the problems
that arise when using UTF-16 as the internal encoding for working with
code points outside the Basic Multilingual Plane.
By the time that perspective changed, the fix was to eliminate the
distinction (and significantly reduce the memory cost of correctness),
rather than to just change the default.
> FWIW the rationale Pyenv gave when they rejected a bug asking for UCS-4
> builds by default was "we prefer to follow upstream defaults".
In this case, the old defaults are dubious, but the upstream fix
eliminated the relevant setting. Historically, it didn't really
matter, since very few people were building their own Python for
Linux.
However, if that was pyenv's only reason for rejecting a switch to
wide unicode builds, it may be worth trying again, this time pointing
them to PEP 513 and the wide-build default for Python 2.7 wheels in
the manylinux build environment.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Distutils-SIG
mailing list