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
Error in more.py during pytest in Python 2.7 #272
Comments
I think this is more appropriate to be filed under |
Starting with 6.0 the |
See #253 |
its not clear to me why this version is installed on python2.7 at all, i suspect too old pip |
Yes, I also thought that |
@MSeifert04 its th standard, i tested with pip as old as 9.x and it works |
this happens for
|
@MSeifert04 turns out that it's 5.0.0 that doesn't support Python 2 but has broken metadata... |
If there's something I screwed up, I'd accept a patch against the 5.0.0 tag and push it to PyPI. |
Looks like it has the same syntax error: https://ci.appveyor.com/project/cherrypy/cheroot/build/job/vgj5rxqpj9tb6xg1#L71. |
Which is weird. That CI log says that it has installed v5.0.0 but, according to Git, it's fine: https://github.com/erikrose/more-itertools/blob/5.0.0/more_itertools/more.py#L359. I'm curious whether PyPI dists correspond what's in Git... |
No, dist has the correct code. So it's probably something that's shadowed by tox... |
Any idea on how to avoid getting an unsupported version of more_itertools? Command output
|
First thing to try, upgrade pip. Modern pip makes use of the |
|
Cross-posting a similar Python 3.5 bug: #578. |
I received this error in version 6.0 (released just now in PyPi) when running pytest which depends on more-itertools. I am using python 2.7
Edited to add: For people finding this issue from Google, the issue is with Python 2.7. For a version more
more-itertools
that works with that version of Python,pip install more_itertools==5.0.0
.The text was updated successfully, but these errors were encountered: