[Pytest-commit] Issue #140: py.test integration fails with Python 3.3 on Mac OSX (hpk42/tox)

Petri Savolainen issues-reply at bitbucket.org
Fri Dec 13 09:43:16 CET 2013


New issue 140: py.test integration fails with Python 3.3 on Mac OSX
https://bitbucket.org/hpk42/tox/issue/140/pytest-integration-fails-with-python-33-on

Petri Savolainen:

Running tox configured to use Python 3.3 using the py.test integration detailed at http://testrun.org/tox/latest/example/pytest.html, I get:

```
#!text
WARNING:test command found but not installed in testenv
  cmd: /usr/local/bin/py.test
  env: /Users/petri/Code/koodaamo/jetstream/src/jetstream.core/.tox/py33
Maybe forgot to specify a dependency?
Traceback (most recent call last):
  File "/usr/local/bin/py.test", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2607, in <module>
    parse_requirements(__requires__), Environment()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: py==1.2.1
ERROR: InvocationError: '/usr/local/bin/py.test'
__________________________________________________________________________ summary ___________________________________________________________________________
ERROR:   py33: commands failed

```




More information about the pytest-commit mailing list