[Distutils] binary wheels, linux and ucs2/4

Chris Withers chris at simplistix.co.uk
Thu Jan 29 12:55:43 CET 2015


Hi All,

So, we have an internal wheel repo where we put binary wheels for those 
that need them.

We just hit an issue where UCS4 machines have started pulling down a 
PyCrypto wheel called pycrypto-2.6.1-cp27-none-linux_x86_64.whl, which 
was built for UCS2, resulting in ugly exceptions along the lines of:

Crypto/Cipher/_ARC4.so: undefined symbol: PyUnicodeUCS2_FromString

I had a hunt and found:

https://bitbucket.org/pypa/wheel/issue/101/python-wheels-need-ucs-tag-on-2x

https://bitbucket.org/pypa/wheel/issue/63/backport-soabi-to-python-2

...but I'm none the wiser. What's the state of play with this?

How can we build PyCrypto for Python 2, both UCS2 and UCS4, and have 
them both in the same repo and have pip pick the right one?

cheers,

Chris


More information about the Distutils-SIG mailing list