Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729620 - dev-python/traceback2-1.4.0 fails test: No module named 'contextlib2'
Summary: dev-python/traceback2-1.4.0 fails test: No module named 'contextlib2'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-06-25 13:28 UTC by Alexey
Modified: 2020-06-26 09:41 UTC (History)
2 users (show)

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


Attachments
emerge --info (file_729620.txt,19.46 KB, text/plain)
2020-06-25 13:28 UTC, Alexey
Details
build.log (build.log,4.58 KB, text/plain)
2020-06-25 13:29 UTC, Alexey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2020-06-25 13:28:42 UTC
Created attachment 646342 [details]
emerge --info

======================================================================                                                                                                                                                                                                            
ERROR: traceback2.tests.test_traceback (unittest.loader._FailedTest)                                                                                                                                                                                                              
----------------------------------------------------------------------                                                                                                                                                                                                            
ImportError: Failed to import test module: traceback2.tests.test_traceback                                                                                                                                                                                                        
Traceback (most recent call last):                                                                                                                                                                                                                                                
  File "/usr/lib/python3.7/unittest/loader.py", line 436, in _find_test_path                                                                                                                                                                                                      
    module = self._get_module_from_name(name)                                                                                                                                                                                                                                     
  File "/usr/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name                                                                                                                                                                                                
    __import__(name)                                                                                                                                                                                                                                                              
  File "/mnt/portagetmp/portage/dev-python/traceback2-1.4.0/work/traceback2-1.4.0/traceback2/tests/test_traceback.py", line 11, in <module>                                                                                                                                       
    import contextlib2 as contextlib                                                                                                                                                                                                                                              
ModuleNotFoundError: No module named 'contextlib2'
Comment 1 Alexey 2020-06-25 13:29:39 UTC
Created attachment 646344 [details]
build.log
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-06-26 09:40:58 UTC
Good catch, thanks!
Comment 3 Larry the Git Cow gentoo-dev 2020-06-26 09:41:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db59003360669e456f0753fedb918b017e03314a

commit db59003360669e456f0753fedb918b017e03314a
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-06-26 09:40:47 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-06-26 09:40:47 +0000

    dev-python/traceback2: Add dep on contextlib2
    
    Closes: https://bugs.gentoo.org/729620
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/traceback2/traceback2-1.4.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)