[Mailman-Developers] MM3 Test difficulty
Mark Sapiro
mark at msapiro.net
Tue Mar 4 04:00:44 CET 2014
On 03/02/2014 11:46 AM, Barry Warsaw wrote:
>
> Looks like upstream released zope.interface 4.1.0, but this hasn't been pulled
> into Debian or Ubuntu yet. This breaks other dependencies referenced by
> --system-site-packages.
>
> I'll work on getting a newer zope.interface into the distros, but in the
> meantime, when the `python setup.py develop` command stops with this error,
> just `pip install -U zope.interface` and then run the develop command again.
OK. I now have a puzzle I can't seem to solve.
I have two machines with different software installation histories and
different OS. Various hardware/driver issues preclude my running the
same OS on both. Actually, there's a third machine with yet another OS
version, but I haven't tried running MM 3 on it.
Anyway, on a machine with Ubuntu 13.10 64 bit, I have a virtualenv with
packages up to date, and "python setup.py develop" runs fine and "nose2
-v" runs fine.
On the other machine with Ubuntu 12.10 32 bit, I again have a virtualenv
with packages up to date, and "python setup.py develop" runs fine, but
"nose2 -v" dies immediately with the attached traceback. Both
zope.component and zope.interface are the same version on both machines.
/var/py27 is the virtualenv.
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
-------------- next part --------------
(py27)mark at Notebook-09:/var/MM/3.0$ nose2 -v
Traceback (most recent call last):
File "/var/py27/bin/nose2", line 9, in <module>
load_entry_point('nose2==0.4.7', 'console_scripts', 'nose2')()
File "/var/py27/local/lib/python2.7/site-packages/nose2-0.4.7-py2.7.egg/nose2/main.py", line 284, in discover
return main(*args, **kwargs)
File "/var/py27/local/lib/python2.7/site-packages/nose2-0.4.7-py2.7.egg/nose2/main.py", line 98, in __init__
super(PluggableTestProgram, self).__init__(**kw)
File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
self.parseArgs(argv)
File "/var/py27/local/lib/python2.7/site-packages/nose2-0.4.7-py2.7.egg/nose2/main.py", line 118, in parseArgs
self.handleCfgArgs(cfg_args)
File "/var/py27/local/lib/python2.7/site-packages/nose2-0.4.7-py2.7.egg/nose2/main.py", line 195, in handleCfgArgs
self.loadPlugins()
File "/var/py27/local/lib/python2.7/site-packages/nose2-0.4.7-py2.7.egg/nose2/main.py", line 240, in loadPlugins
self.session.loadPlugins(self.defaultPlugins, self.excludePlugins)
File "/var/py27/local/lib/python2.7/site-packages/nose2-0.4.7-py2.7.egg/nose2/session.py", line 134, in loadPlugins
self.loadPluginsFromModule(util.module_from_name(module))
File "/var/py27/local/lib/python2.7/site-packages/nose2-0.4.7-py2.7.egg/nose2/util.py", line 80, in module_from_name
__import__(name)
File "/var/MM/3.0/src/mailman/testing/nose.py", line 34, in <module>
from mailman.testing.documentation import setup, teardown
File "/var/MM/3.0/src/mailman/testing/documentation.py", line 35, in <module>
from mailman.app.lifecycle import create_list
File "/var/MM/3.0/src/mailman/app/lifecycle.py", line 34, in <module>
from zope.component import getUtility
File "/var/py27/local/lib/python2.7/site-packages/zope.component-4.2.0-py2.7.egg/zope/component/__init__.py", line 19, in <module>
from zope.interface import named
ImportError: cannot import name named
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/mailman-developers/attachments/20140303/63cc9061/attachment.sig>
More information about the Mailman-Developers
mailing list