-
Notifications
You must be signed in to change notification settings - Fork 225
CentOS 5 support ends soon #96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There is a plan in the sense that everyone agrees that this is a thing that should happen, but not in the sense of anyone having actually volunteered to do the work :-). |
@lukeyeager would you like to volunteer to work on a draft of a new PEP for manylinux2 + CI infrastructure to actually generate manylinux2 compatible binaries (reusing but upgrading the existing scripts that we use to maintain the manylinux1 docker images)? |
Well that's a delightfully positive response! Glad to hear there is interest in pushing out an update. Unfortunately I don't think this falls under my purview at work, nor do I currently have the time to do it after hours. |
Defining an updated whitelist for manylinux2 would also be a simple way to tackle the curses 5 -> 6 issue: #94. |
A psycopg user reported that the manylinux psycopg2 2.7 package is failing connection because Centos 5.11 ships with libssl 0.9.8e (psycopg/psycopg2#518), while the missing features are available e.g. in 1.0.2k How would you suggest to proceed?
|
It's up to you really, but the"official" manylinux1 solution would be to
build your own openssl on centos5 and then ship that, yeah.
Technically this is pretty easy to do -- the manylinux build scripts
actually do it because the centos 5 openssl is so useless that pip wouldn't
work otherwise. It's just a curl / tar / configure / make. The hard part is
that then you're responsible for releasing a new wheel whenever there's a
new openssl security bug. (Which is why we don't make our openssl build
available -- we want there to be a speedbump so people stop and think about
this.) But IIRC you're already shipping openssl in all your wheels, so for
you this responsibility isn't new...
|
Yes, needing to build a new package if a new bug in openssl is found is something I had already figured out, no problem with that. The problem with psycopg is that both libssl and libpq - the postgres client library - must be built with all the dependencies needed to allow different form of authentications (pam, kerberos, etc.). But yesterday I already whipped together a package with several features in this script. I'll try building wheels with that, check if all the linked libraries are present (using system libpq vs. the one I build myself), rinse, repeat, ship. |
Update: EOL happened |
We were having issues getting manylinux to build on centos 5 because for kivy we need gl es2 and centos 5 doesn't seem to have it available. I started going down the rabit hole to compile mesa on centos 5, but there are just too many dependencies missing. So, we were wondering, would we be terrible people if we build on centos 7 (even centos 6 is now in maintenance updates only and reaches eol at end of 2020) and distribute them as manylinux? We are aware it may only run on newer system, but it is probably ok for us. |
I would encourage you not to do this. It would be unfortunate, in my opinion, to distribute wheels on PyPI using the "manylinux1" tag which do not conform to PEP 513. |
Note though that we're actively seeking volunteers to help make manylinux2 happen officially. |
I mention this issue here because I think it is relevant to the manylinux2 roadmap; I tried to build wheels and run |
@antocuni: not quite sure what you were hoping to accomplish there, but I can't think of any wheel-related situation where running If the problem also occurs for other centos6 binaries then that is more concerning... |
@njsmith I originally encountered the problem by developing this: https://github.com/antocuni/pypy-wheels However, it seems not to be related to pypy at all, as I can reproduce the problem even with cpython. I don't know why
|
wxPython had similar problems with centos 5 having only old gtk2 libs and no gtk3, see: https://github.com/RobinD42/Phoenix/tree/a8d9b0f144e8c12dcd0159e6999804bbff9b726d/vagrant/manylinux |
Hi, |
We should, I'll let @mayeut make the call |
closing per previous comments. See manylinux2010 in #179 |
CentOS 5 support ends in about a month and a half:
Is there a plan to migrate PEP-513 to a new minimum subset of libraries+versions eventually?
Please direct me to an existing discussion or a more appropriate forum if one exists.
The text was updated successfully, but these errors were encountered: