<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Mar 2, 2016 at 4:21 PM, Olivier Grisel <span dir="ltr"><<a href="mailto:olivier.grisel@ensta.org" target="_blank">olivier.grisel@ensta.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">> IIRC, there is an open PR to pip (<a href="https://github.com/pypa/pip/pull/3497" rel="noreferrer" target="_blank">https://github.com/pypa/pip/pull/3497</a>). I think adding your voice there might help move it along. I think that PR is ready to merge, but just lacking the last necessary push from a pip maintainer to merge it.<br>
<br>
</span>If you manage to build manylinux1 wheels for psycopg2 it would be<br>
great to publish them to a public URL and report that you can install<br>
them successfully on various linux versions (e.g. old and recent<br>
debian, ubuntu, fedora, arch...) using this branch of pip.<br>
<br>
It would also be great to test on non-compatible variant of linux<br>
(e.g. alpine linux) that this version of pip ignores those manylinux1<br>
wheels as expected. </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
I think that would help convince the pip maintainers that this PR is<br>
ready for merge.<br></blockquote><div><br></div><div>So this wasn't really required now that it's been merged, but I wanted to prove for my own sake that these wheels are going to work. Indeed they did, with flying colors. psycopg2 wheels built on the modified manylinux1 image (modified to include UCS-2 Python builds) and assembled with auditwheel install and work (with SSL!) on as-bare-as-possible images of Debian 7 and 8, Ubuntu 12.04 and 14.04, Fedora 21, CentOS 6 and 7, openSUSE 13.2, and refused to install on Alpine. I tested with as many "standard" Python and setuptools versions as possible (e.g. Python 2 and 3 from APT on Debianish systems; standard 2.6 plus 2.7 and 3.3 from SCL on CentOS 6, standard 2.7 plus 3.3 from EPEL on CentOS 7, etc.).</div><div><br></div><div>None of these standard builds are UCS-2, so it would be good to test the wheels on some of these systems with a UCS-2 Python, but I ran out of time for that. It would probably be a decent idea to test them with Enthought and Anaconda as well.</div><div><br></div><div>Wheels are here:</div><div><br></div><div>  <a href="https://depot.galaxyproject.org/nate/wheelhouse/">https://depot.galaxyproject.org/nate/wheelhouse/</a></div><div><br></div><div>Build/test scripts/logs are here:</div><div><br></div><div>  <a href="https://gist.github.com/natefoo/dae16c8669388cd20406">https://gist.github.com/natefoo/dae16c8669388cd20406</a><br></div><div><br></div><div>And I PR'd the changes for UCS-2 Python builds in the Docker image:</div><div><br></div><div>  <a href="https://github.com/pypa/manylinux/pull/35">https://github.com/pypa/manylinux/pull/35</a><br></div><div><br></div><div>--nate</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class=""><font color="#888888"><br>
--<br>
Olivier<br>
</font></span></blockquote></div><br></div></div>