Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427960 - dev-python/tox-1.4 - pkg_resources.DistributionNotFound: py>=1.4.9
Summary: dev-python/tox-1.4 - pkg_resources.DistributionNotFound: py>=1.4.9
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-24 22:17 UTC by Ewoud Kohl van Wijngaarden
Modified: 2014-11-26 12:29 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 Ewoud Kohl van Wijngaarden 2012-07-24 22:17:36 UTC
I run amd64 with tox 1.4 and pytest 2.2.4 unmasked. There is no dependency on py 1.4.9 but when running tox I get a stack trace:

Traceback (most recent call last):
  File "/usr/bin/tox-2.7", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 2714, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 585, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: py>=1.4.9


Reproducible: Always

Steps to Reproduce:
1. emerge dev-python/tox-1.4, pytest-2.2.4 and py 1.4.7
2. run tox
3.
Actual Results:  
Traceback (most recent call last):
  File "/usr/bin/tox-2.7", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 2714, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 585, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: py>=1.4.9

Expected Results:  
I would expect tox to run normally.

Installing py 1.4.9 solves the issue so I think pytest needs a a stricter dependency.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2014-11-26 12:29:06 UTC
purged