-
Notifications
You must be signed in to change notification settings - Fork 119
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-benchmark fails with setup.py:tests_require
#42
Comments
I suspect this is caused by a too old |
Indeed the version is quite old, However this is the default that comes with Given that If I can find a fix that will make this work with |
The only possible fix I see is removal of the environment markers and having a runtime check in I'm using 14.04 as well and it ain't a problem for me - I avoid any python package from their repos, they are old and have various bugs. Installing a newer setuptools should be fine as long as you use pip to install/upgrade it (and not The other alternative is to not depend on statistics and pathlib at all. We could use https://pypi.python.org/pypi/pathlib2 and some other statistics lib but I'm a bit wary of that ... |
This is very true, although it can also cause problems when performing I'm tempted to vote closing this issue out, but I don't know enough about the "wheel poisoning" problems to make a sound judgement. Is this something that is fixable, or would it simply not be worth the time/effort trying to fix? |
You could read about it in pypa/pip#3025 I suppose. Though using non-universal wheels still don't fix the issue - we'd need a wheel for each python version. Lots of pain, unclear benefit. I already stretched the platform support quite far - even 2.6 and 3.2 are supported - I don't think I can stretch it even for broken installers 😒 |
Yeah agreed, there has to be a line in the sand somewhere. I actually refuse to support 2.6 for that very reason! Closing out as wontfix, thanks for the quick replies :) |
The following is inside
setup.py
;However, running
python setup.py test
results in the following;If I install the package first with
pip install pytest-benchmark
, then the error goes away.I'm guessing it has something to do with this line.
The text was updated successfully, but these errors were encountered: