Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 668710 - dev-python/fields-5.0.0 should depend on pluggy<0.7,>=0.5 if USE=test
Summary: dev-python/fields-5.0.0 should depend on pluggy<0.7,>=0.5 if USE=test
Status: RESOLVED FIXED
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:
Depends on:
Blocks: 643214
  Show dependency tree
 
Reported: 2018-10-15 12:23 UTC by Tobias Klausmann (RETIRED)
Modified: 2019-04-12 13:37 UTC (History)
1 user (show)

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


Attachments
build/test log (dev-python:fields-5.0.0:20181015-113147.log,6.45 KB, text/plain)
2018-10-15 12:23 UTC, Tobias Klausmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2018-10-15 12:23:35 UTC
Created attachment 551326 [details]
build/test log

>>> Test phase: dev-python/fields-5.0.0                                                                
 * python2_7: running distutils-r1_run_phase python_test                                               
Traceback (most recent call last):                                                                     
  File "/usr/lib/python-exec/python2.7/py.test", line 6, in <module>                                   
    from pkg_resources import load_entry_point                                                         
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3098, in <module>            
    @_call_aside                                                                                       
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3082, in _call_aside         
    f(*args, **kwargs)                                                                                 
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3111, in _initialize_master_working_set                                                                                             
    working_set = WorkingSet._build_master()                                                           
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 575, in _build_master        
    return cls._build_from_requirements(__requires__)                                                  
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 588, in _build_from_requirements                                                                                                    
    dists = ws.resolve(reqs, Environment())                                                            
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 777, in resolve              
    raise DistributionNotFound(req, requirers)                                                         
pkg_resources.DistributionNotFound: The 'pluggy<0.7,>=0.5' distribution was not found and is required by pytest                                                                                               
 * ERROR: dev-python/fields-5.0.0::gentoo failed (test phase):                                         


This happened on Alpha, but likely isn't arch-specific.
Comment 1 Virgil Dupras (RETIRED) gentoo-dev 2019-04-12 13:37:46 UTC
This dependency is a transitive one belonging to dev-python/pytest. This error is the result of a temporary problem in pytest's dep constraints on dev-python pluggy. Should be fixed now (works for me).