Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299910 - dev-python/restrictedpython-3.5.1, net-zope/extensionclass-2.11.3, net-zope/persistence-2.11.1, net-zope/zlog-2.11.1: Missing dependencies for tests
Summary: dev-python/restrictedpython-3.5.1, net-zope/extensionclass-2.11.3, net-zope/p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 297734
  Show dependency tree
 
Reported: 2010-01-06 16:49 UTC by Thomas Kahle (RETIRED)
Modified: 2010-01-17 16:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kahle (RETIRED) gentoo-dev 2010-01-06 16:49:26 UTC
net-zope/extensionclass-2.11.3 needs net-zope/zope-testing to run its test, but does not specify it as a dependency. 

 * Testing of net-zope/extensionclass-2.11.3 with Python 2.6...                                                                                                     
EEE                                                                                                                                                                 
======================================================================                                                                                              
ERROR: Failure: ImportError (No module named testing.doctest)                                                                                                       
----------------------------------------------------------------------                                                                                              
Traceback (most recent call last):                                                                                                                                  
  File "/usr/lib/python2.6/site-packages/nose/loader.py", line 379, in loadTestsFromName                                                                            
    addr.filename, addr.module)                                                                                                                                     
  File "/usr/lib/python2.6/site-packages/nose/importer.py", line 39, in importFromPath                                                                              
    return self.importFromDir(dir_path, fqname)                                                                                                                     
  File "/usr/lib/python2.6/site-packages/nose/importer.py", line 86, in importFromDir                                                                               
    mod = load_module(part_fqname, fh, filename, desc)                                                                                                              
  File "/var/tmp/portage/net-zope/extensionclass-2.11.3/work/ExtensionClass-2.11.3/src/ComputedAttribute/tests.py", line 69, in <module>                            
    from zope.testing.doctest import DocTestSuite                                                                                                                   
ImportError: No module named testing.doctest    

Reproducible: Always
Comment 1 Thomas Kahle (RETIRED) gentoo-dev 2010-01-06 16:58:29 UTC
same applies to:

dev-python/restrictedpython
net-zope/persistence
net-zope/tempstorage
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-12 14:25:39 UTC
net-zope/tempstorage doesn't import anything from zope namespace.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-12 14:33:05 UTC
Fixed.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2010-01-16 16:17:07 UTC
net-zope/zlog also needs that dependency for testing

>>> Source compiled.
 * Testing of net-zope/zlog-2.11.1 with Python 2.6...
E.
======================================================================
ERROR: Failure: ImportError (No module named ZConfig.components.logger.tests.test_logger)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/nose/loader.py", line 379, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.6/site-packages/nose/importer.py", line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.6/site-packages/nose/importer.py", line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/var/tmp/portage/net-zope/zlog-2.11.1/work/zLOG-2.11.1/src/zLOG/tests/test_logging.py", line 19, in <module>
    from ZConfig.components.logger.tests.test_logger import LoggingTestBase
ImportError: No module named ZConfig.components.logger.tests.test_logger

----------------------------------------------------------------------
Ran 2 tests in 0.016s

FAILED (errors=1)
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-17 16:15:23 UTC
(In reply to comment #4)
> net-zope/zlog also needs that dependency for testing

net-zope/zlog needs net-zope/zconfig, not net-zope/zope-testing.
Fixed.

If there are other missing dependencies, then please report separate bugs.