numirias / pytest-json-report

🗒️ A pytest plugin to report test results as JSON
MIT License
147 stars 39 forks source link

Not the latest version with pip install pytest-json-report --upgrade #27

Closed sdave2 closed 5 years ago

sdave2 commented 5 years ago

hello!

Thank you for adding support for python 2.7. Can you please publish the latest version of this code to pip.

When I run the command pip install pytest-json-report --upgrade I still get an older version of the code. By version, I do not mean the version in the setup.py file but the version of the code itself.

I still see the follwing error when i run this plugin in the python 2.7 env: File "/usr/local/lib/python2.7/dist-packages/pytest_jsonreport/plugin.py", line 175 **self.json_location(node),

However, when I clone the project and install the plugin python setup.py install, it works.

Thank you.

numirias commented 5 years ago

I just published a refactored version of the plugin which can be installed via PyPI. Feel free to give feedback.