-
Notifications
You must be signed in to change notification settings - Fork 53
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
Pyhash 0.9.3 does not install with more-itertools > 5.x #37
Comments
I'm seeing the same issue over on ciena/afkak#110. AnalysisThe root of this is that a bunch of pyhash's transitive install-time ( It looks like the easiest way to fix this is to move away from pytest-runner. Its maintainers have deprecated it, essentially exactly for this reason. You'd start by deleting these lines: Lines 238 to 239 in 5f81262
The current Tox config installs these test dependencies: pyfasthash/tests/requirements.txt Lines 1 to 4 in 5f81262
That should work, but if you were still getting the wrong pytest version you can add an additional constraint like:
Another option is to ship Python 2.7 wheels for more platforms so that WorkaroundsAs a user of the library, we can work around these issues by ensuring that Python 2.7-compatible versions of these libraries are installed before pyhash. For example, you could add a Python 2.7-qualified [testenv]
deps =
{py27,pypy}: pytest-runner
{py27,pypy}: pytest-benchmark Here's a real-world example: ciena/afkak@8c7bd8a |
Whoa, nice analysis. Much appreciated, thanks! |
Hi there,
I am experiencing issues installing pyhash when more-itertools over 5.x is installed:
When downgrading more-itertools to 5.0 pyhash installs flawless:
The text was updated successfully, but these errors were encountered: