[opensuse-packaging] SLE12 python3 missing xmlrpc
Hi! I am currently trying to build python-M2Crypto for SLE-12:Update and the build fails with python3 unable to import the "xmlrpc" module: [ 121s] File "/usr/lib64/python3.4/_import_failed/xmlrpc.py", line 17, in <module> [ 121s] to install it.""".format(__name__, package)) [ 121s] ImportError: Module 'xmlrpc' is not installed. What's strange about this is that xmlrpc is normally a module that is shipped with Python's standard library. However, looking into the standard library path for python3.4, /usr/lib64/python3.4, the folder "xmlrpc" is missing. Anyone knows what I am overlooking? I had a look at Debian and sure enough, xmlrpc is present in the standard library in the python3.4 package. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri, Feb 16, 2018 at 7:08 AM, John Paul Adrian Glaubitz
Hi!
I am currently trying to build python-M2Crypto for SLE-12:Update and the build fails with python3 unable to import the "xmlrpc" module:
[ 121s] File "/usr/lib64/python3.4/_import_failed/xmlrpc.py", line 17, in <module> [ 121s] to install it.""".format(__name__, package)) [ 121s] ImportError: Module 'xmlrpc' is not installed.
What's strange about this is that xmlrpc is normally a module that is shipped with Python's standard library. However, looking into the standard library path for python3.4, /usr/lib64/python3.4, the folder "xmlrpc" is missing.
Anyone knows what I am overlooking? I had a look at Debian and sure enough, xmlrpc is present in the standard library in the python3.4 package.
SUSE packaging of Python is a little broken compared to Fedora and Debian. In this specific case, xmlrpc failed to build correctly (along with several other modules). Last I checked, the following modules are busted/unavailable in SUSE Python 3: * curses * dbm * ensurepip * idlelib * pyexpat * readline * sqlite3 * test * tkinter * turtledemo * xml * xmlrpc * xxlimited -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sun, Feb 18, 2018 at 5:01 AM, Neal Gompa
On Fri, Feb 16, 2018 at 7:08 AM, John Paul Adrian Glaubitz
wrote: Hi!
I am currently trying to build python-M2Crypto for SLE-12:Update and the build fails with python3 unable to import the "xmlrpc" module:
[ 121s] File "/usr/lib64/python3.4/_import_failed/xmlrpc.py", line 17, in <module> [ 121s] to install it.""".format(__name__, package)) [ 121s] ImportError: Module 'xmlrpc' is not installed.
What's strange about this is that xmlrpc is normally a module that is shipped with Python's standard library. However, looking into the standard library path for python3.4, /usr/lib64/python3.4, the folder "xmlrpc" is missing.
Anyone knows what I am overlooking? I had a look at Debian and sure enough, xmlrpc is present in the standard library in the python3.4 package.
SUSE packaging of Python is a little broken compared to Fedora and Debian. In this specific case, xmlrpc failed to build correctly (along with several other modules).
Last I checked, the following modules are busted/unavailable in SUSE Python 3:
* curses * dbm * ensurepip * idlelib * pyexpat * readline * sqlite3 * test * tkinter * turtledemo * xml * xmlrpc * xxlimited
Actually, wait, check and see if you're pulling in the `python3` package. That might include what you're missing... -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi Neal! On 02/18/2018 11:03 AM, Neal Gompa wrote:
Actually, wait, check and see if you're pulling in the `python3` package. That might include what you're missing...
Yes, I have already found this as a workaround for the issue, however the python3 packaging here is still broken and needs to be fixed. However, as this is an internal issue which affects SLE only, the discussion doesn't really belong here. The reason my mail just showed up here is that I accidentally sent it from my private mail account first. It then bounced and I asked for the mail to be discarded as I re-sent it later from my SUSE account. For some reason, my first mail just got through the list though. Adrian -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi Neal! On 02/18/2018 11:01 AM, Neal Gompa wrote:
SUSE packaging of Python is a little broken compared to Fedora and Debian. In this specific case, xmlrpc failed to build correctly (along with several other modules).
Thanks for your answer! We are already resolving this issue internally as this affects only the enterprise distributions anyway. My mail just showed up because I accidentally posted it from my private mail address first instead of my SUSE one. I asked for the mail to be dropped when it bounced from the list but it seems it eventually came through. Adrian -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
John Paul Adrian Glaubitz
-
John Paul Adrian Glaubitz
-
Neal Gompa