Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 858284 - dev-python/rdflib-6.2.0 fails tests
Summary: dev-python/rdflib-6.2.0 fails tests
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-07-16 03:24 UTC by Jonathan Lovelace
Modified: 2022-08-22 07:48 UTC (History)
0 users

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


Attachments
dev-python:rdflib-6.1.1:20220716-024109.log (dev-python:rdflib-6.1.1:20220716-024109.log,53.99 KB, text/x-log)
2022-07-16 03:24 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,8.87 KB, text/plain)
2022-07-16 03:25 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2022-07-16 03:24:47 UTC
Created attachment 791639 [details]
dev-python:rdflib-6.1.1:20220716-024109.log

When rebuilding against Python 3.10 (and presumably upgraded dependencies), =dev-python/rdflib-6.1.1 fails its test phase. Specifically, the test suite fails to collect tests from the file test/test_swap_n3.py. Here's the error stack trace from the build log:

============================================================================ ERRORS ================[682/2376]
==================================================                                                            
____________________________________________________________ ERROR collecting test/test_swap_n3.py ___________
__________________________________________________                                                            
/usr/lib/python3.10/site-packages/pluggy/_hooks.py:265: in __call__                                           
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)                               
        argname    = 'obj'                                                                                    
        args       = ()                                                                                       
        firstresult = True                                                                                    
        kwargs     = {'collector': <Module test_swap_n3.py>,                                                  
 'name': 'test',                                                                                              
 'obj': Namespace('http://www.w3.org/2000/10/swap/test.n3#')}                                                 
        self       = <_HookCaller 'pytest_pycollect_makeitem'>                                                
/usr/lib/python3.10/site-packages/pluggy/_manager.py:80: in _hookexec                                         
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)                                      
        firstresult = True                                                                                    
        hook_name  = 'pytest_pycollect_makeitem'                                                              
        kwargs     = {'collector': <Module test_swap_n3.py>,                                                  
 'name': 'test',                                                                                              
 'obj': Namespace('http://www.w3.org/2000/10/swap/test.n3#')}                                                 
        methods    = [<HookImpl plugin_name='python', plugin=<module '_pytest.python' from '/usr/lib/python3.1
0/site-packages/_pytest/python.py'>>,                                                                         
 <HookImpl plugin_name='unittest', plugin=<module '_pytest.unittest' from '/usr/lib/python3.10/site-packages/_
pytest/unittest.py'>>,                                                                                        
 <HookImpl plugin_name='anyio', plugin=<module 'anyio.pytest_plugin' from '/usr/lib/python3.10/site-packages/a
nyio/pytest_plugin.py'>>,                                                                                     
 <HookImpl plugin_name='asyncio', plugin=<module 'pytest_asyncio.plugin' from '/usr/lib/python3.10/site-packag
es/pytest_asyncio/plugin.py'>>]                                                                               
        self       = <_pytest.config.PytestPluginManager object at 0x7fad1548df60>                            
/usr/lib/python3.10/site-packages/pytest_asyncio/plugin.py:333: in pytest_pycollect_makeitem                  
    and _hypothesis_test_wraps_coroutine(obj)                                                                 
        collector  = <Module test_swap_n3.py>                                                                 
        name       = 'test'                                                                                   
        obj        = Namespace('http://www.w3.org/2000/10/swap/test.n3#')                                     
/usr/lib/python3.10/site-packages/pytest_asyncio/plugin.py:350: in _hypothesis_test_wraps_coroutine           
    return _is_coroutine(function.hypothesis.inner_test)                                                      
E   AttributeError: 'URIRef' object has no attribute 'inner_test'                                             
        function   = Namespace('http://www.w3.org/2000/10/swap/test.n3#')
Comment 1 Jonathan Lovelace 2022-07-16 03:25:03 UTC
Created attachment 791642 [details]
emerge-info.txt
Comment 2 Agostino Sarubbo gentoo-dev 2022-08-22 07:48:41 UTC
tinderbox_musl has reproduced this issue with version 6.2.0 - Updating summary.