[Pytest-commit] Issue #172: Getting ImportMismatchErrors in combination with Jenkins (hpk42/tox)

Charlie Clark issues-reply at bitbucket.org
Thu May 15 17:02:23 CEST 2014


New issue 172: Getting ImportMismatchErrors in combination with Jenkins
https://bitbucket.org/hpk42/tox/issue/172/getting-importmismatcherrors-in

Charlie Clark:

Not sure what the problem is. Tox works fine locally but we've hit a few problems recently.

A sample TB can be found here http://build.adimian.com/job/openpyxl-2.0/26/console

But the key line is:

```
#!python

E               ImportMismatchError: ('openpyxl.conftest', '/var/lib/jenkins/workspace/openpyxl-2.0/openpyxl/conftest.py', local('/var/lib/jenkins/workspace/openpyxl-2.0/.tox/py34/lib64/python3.4/site-packages/openpyxl/conftest.py'))
```
Looking at the source this relates to problems with __file__ but what problems? Should the two files be the same?




More information about the pytest-commit mailing list