* Sascha Peilicke <speilicke@suse.com> [2013-06-28 11:41]:
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 :-)
This is also still listed under "Summary of useful rpm macros", should that be removed?
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"?
It currently says: In all cases, use BuildRequires: python-devel. Technically BuildRequires: python-base is sufficient for Python-only modules (i.e. no C code), but it increases consistency and doesn't add much overhead. How about: In all cases, use BuildRequires: python-devel. Technically BuildRequires: python-base would be sufficient for Python-only modules, i.e. modules which do not include C code, which do not use the bsddb, sqlite3 or ssl modules, however the use of python-devel ensures consitency without much additional overhead. That is, provided python-devel adds a dependency on python again.
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.
-- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org