[Pytest-commit] Issue #244: detox crashes with tox-2.0.1 (hpk42/tox)

Takeshi Komiya issues-reply at bitbucket.org
Wed May 13 06:06:08 CEST 2015


New issue 244: detox crashes with tox-2.0.1
https://bitbucket.org/hpk42/tox/issue/244/detox-crashes-with-tox-201

Takeshi Komiya:

I got following error from detox.
```
$ detox
Traceback (most recent call last):
  File "/home/ubuntu/virtualenv/python2.7/bin/detox", line 9, in <module>
    load_entry_point('detox==0.9.4', 'console_scripts', 'detox')()
  File "/home/ubuntu/virtualenv/python2.7/local/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/ubuntu/virtualenv/python2.7/local/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
    return ep.load()
  File "/home/ubuntu/virtualenv/python2.7/local/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/home/ubuntu/virtualenv/python2.7/local/lib/python2.7/site-packages/detox/main.py", line 5, in <module>
    from detox.proc import Detox
  File "/home/ubuntu/virtualenv/python2.7/local/lib/python2.7/site-packages/detox/proc.py", line 10, in <module>
    import tox._config
ImportError: No module named _config
```

I use detox (HEAD) and tox-2.0.1.

If downgrade tox to 1.9.2, detox works fine.




More information about the pytest-commit mailing list