[Bug 424730] New: python2.6: No module named test_support
https://bugzilla.novell.com/show_bug.cgi?id=424730 Summary: python2.6: No module named test_support Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: jmatejek@novell.com ReportedBy: cstender@novell.com QAContact: qa@suse.de Found By: Development I tried to update python-dateutil to the current version. It builds fine under openSUSE 11.0 but I get an error on factory from today. tail -n 30 /work/built/mbuild/blackhawk-cstender-17/i386/Logfile.python-dateutil.spec File "/usr/lib/python2.6/site-packages/setuptools/command/install.py", line 56, in run return _install.run(self) File "/usr/lib/python2.6/distutils/command/install.py", line 594, in run self.run_command(cmd_name) File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/usr/lib/python2.6/distutils/dist.py", line 990, in run_command cmd_obj = self.get_command_obj(command) File "/usr/lib/python2.6/distutils/dist.py", line 866, in get_command_obj klass = self.get_command_class(command) File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 354, in get_command_class self.cmdclass[command] = cmdclass = ep.load() File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1912, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib/python2.6/site-packages/setuptools/command/install_scripts.py", line 3, in <module> from easy_install import get_script_args, sys_executable, chmod File "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 21, in <module> from setuptools.package_index import PackageIndex, parse_bdist_wininst File "/usr/lib/python2.6/site-packages/setuptools/package_index.py", line 3, in <module> import sys, os.path, re, urlparse, urllib2, shutil, random, socket, cStringIO File "/usr/lib/python2.6/urllib2.py", line 92, in <module> import httplib File "/usr/lib/python2.6/httplib.py", line 72, in <module> from test.test_support import catch_warning ImportError: No module named test_support error: Bad exit status from /var/tmp/rpm-tmp.4935 (%install) Maybe there is something missing in the python-devel package? You can find the python-dateutil package in my export directory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=424730 User jmatejek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=424730#c1 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jmatejek@novell.com |skh@novell.com Severity|Major |Normal --- Comment #1 from Jan Matejek <jmatejek@novell.com> 2008-09-09 11:45:21 MDT --- this is a problem in the python-dateutil package. when setuptools try to "import test", python picks up "test.py" which resides in package's directory. That file naturally doesn't contain test_support. In fact, i'm not sure how it -can- work in 11.0. Probably the setuptools from there do something to rectify the problem, but factory's version doesn't do it. you can try manually: python -c "from test.test_support import catch_warning" in package's directory, see that it fails ..aaand, as such, lowering severity (problem is in this particular package, not systemwide) and handing over to setuptools maintaner. Sonja, feel free to throw this back at me if you find out that python is at fault. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=424730 Sonja Krause-Harder <skh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Priority|P5 - None |P2 - High -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=424730 User skh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=424730#c2 --- Comment #2 from Sonja Krause-Harder <skh@novell.com> 2008-09-10 09:24:22 MDT --- Well, it worked in 11.0 because python-dateutil did not need setuptools at all. I'll have a look at it anyway. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=424730 User cstender@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=424730#c3 --- Comment #3 from Christopher Stender <cstender@novell.com> 2008-09-10 14:16:49 MDT --- Thanks Sonja. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=424730 User crrodriguez@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=424730#c4 Cristian Rodriguez <crrodriguez@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crrodriguez@novell.com AssignedTo|skh@novell.com |jmatejek@novell.com Status|ASSIGNED |NEW --- Comment #4 from Cristian Rodriguez <crrodriguez@novell.com> 2008-09-11 21:31:10 MDT --- jan: there is really a bug in python somewhere.. try this, on clean python on current factory python -c "import httplib" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python2.6/httplib.py", line 72, in <module> from test.test_support import catch_warning ImportError: No module named test.test_support httplib imports catch_warning from a module that is only present in the python-devel package, hence it breaks out of the box. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=424730 User jmatejek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=424730#c5 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major Status|NEW |ASSIGNED --- Comment #5 from Jan Matejek <jmatejek@novell.com> 2008-09-12 02:30:55 MDT --- hmm, i see (raising severity again). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=424730 Christopher Stender <cstender@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |425757 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=424730 User jmatejek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=424730#c6 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #6 from Jan Matejek <jmatejek@novell.com> 2008-09-16 11:30:27 MDT --- it appears to be fixed in 2.6rc1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com