-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pytest-django plugin is not recognized by py.test as plugin on Ubuntu 14.04 #116
Comments
Confirmed, in a docker instance. However, this appears to be fixed in master:
|
It might not be related to This might not be an issue here, but it's easy to forget. |
I am closing this, according to my previous comment(s). Please re-open in case it's still a problem for you, and then please also try it with installing pytest-django from master. |
Just in case anyone else encounters this issue: for me, it was caused by an ancient version of setuptools. After upgrading from setuptools 0.6 to the latest version (currently 28.7.1), the plugin is correctly discovered. |
I been struggle with this issue too, upgrading pip and reinstall distribute solved the issue. |
Short description
the output of
pip install pytest-django pytest-instafail && py.test no-such-path
isdjango is not listed among the plugins
Tested with python 2.7 on ubuntu trusty 64 on vagrant with pytest_django 2.6.2
To reproduce
Create a vagrant box
mkdir vagrant-pytest-does-not-recogniz-pytest-django-on-ubuntu-trusty64 cd vagrant-pytest-does-not-recogniz-pytest-django-on-ubuntu-trusty64 vagrant init ubuntu/trusty64 vagrant ssh
Install it into the global site-packages
Install it into a virtualenvironment
Output from the above commands can be found at https://gist.github.com/zsoldosp/bdf8c82125df418759fe
The text was updated successfully, but these errors were encountered: