| Summary: | dev-python/tox-1.4 - pkg_resources.DistributionNotFound: py>=1.4.9 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ewoud Kohl van Wijngaarden <ewoud+gentoo> |
| Component: | New packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
purged |
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.