On 06/28/2013 11:24 AM, Guido Berhoerster wrote:
* Sascha Peilicke <speilicke@suse.com> [2013-06-28 10:01]:
On 06/27/2013 06:06 PM, Guido Berhoerster wrote:
Why is the python ssl module not provided by the python module any more? It seems to have vanished after a recent version upgrade and there isn't even an explanation in the changelog. This currently causes build failures for offlineimap.
Huh?
saschpe@bort:packaging/openSUSE:Factory/python% rpm -qlp binaries/python-2.7.5-1.1.x86_64.rpm| grep ssl /usr/lib64/python2.7/lib-dynload/_ssl.so /usr/lib64/python2.7/ssl.py
You also need to "BuildRequires: python" next to "BuildRequires: python-devel" to get access to the ssl module (same for tkinter and some more remote ones). It's not pulled in due to some bootstrapping issues. Ask Jan Matejek if you want more details or if that couldn't be solved otherwise :-)
I have %py_requires which introduces a build dependency on /usr/bin/python and thus python-base and a build dependency on python-devel.
%py_requires isn't recommended anymore, python-devel also happens to need a python interpreter :-)
The python packaging guidelines suggest "…in all cases, use BuildRequires: python-devel", and not even %py_requires -d results in a build dependency on python any more, this is confusing to say the least.
Mhm, seems like the wiki isn't current. Could you change s/all/most/ and mention the ssl module as a special case for buildrequiring "python"?
Can this dependency please be added back to python-devel?
I can only forward this to Jan, he's the bugowner of python-base. As said, it's a bootstrapping issue workaround. @Jan: But I agree with Guide, it's probably better to build a python-mini package instead and drop the current cludge. -- Sascha Peilicke SUSE Linux GmbH, Maxfeldstr. 5, D-90409 Nuernberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org