yq-2.10.0 breaks on python 2.7
See original GitHub issueargcomplete brings in more-itertools which broke for me
Collecting more-itertools (from zipp>=0.5->importlib-metadata<2,>=0.23; python_version == "2.7"->argcomplete>=1.8.1->yq==2.10.0)
Using cached https://files.pythonhosted.org/packages/df/8c/c278395367a46c00d28036143fdc6583db8f98622b83875403f16473509b/more-itertools-8.1.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-JO6UHk/more-itertools/setup.py", line 5, in <module>
from more_itertools import __version__
File "/tmp/pip-build-JO6UHk/more-itertools/more_itertools/__init__.py", line 1, in <module>
from .more import * # noqa
File "/tmp/pip-build-JO6UHk/more-itertools/more_itertools/more.py", line 480
yield from iterable
^
SyntaxError: invalid syntax
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Python Release Python 2.7.10
Version Operating System Description MD5 Sum
Gzipped source tarball Source release d754755...
XZ compressed source tarball Source release c685ef0...
Mac OS X 32‑bit i386/PPC installer macOS...
Read more >Porting Python 2 Code to Python 3 — Python 3.11.1 ...
The Short Explanation¶. To make your project be single-source Python 2/3 compatible, the basic steps are: Only worry about supporting Python 2.7.
Read more >Python Release Python 2.7.18
Version Operating System Description MD5 Sum
Gzipped source tarball Source release 38c84292658ed4...
XZ compressed source tarball Source release fd6cc8ec0a78c44...
macOS 64‑bit installer macOS for OS X...
Read more >Python Release Python 2.7.15
Version Operating System Description MD5 Sum
Gzipped source tarball Source release 045fb344021...
XZ compressed source tarball Source release a80ae3cc478...
macOS 64‑bit/32‑bit installer macOS for Mac OS...
Read more >Python Release Python 2.7.17
Version Operating System Description MD5 Sum
Gzipped source tarball Source release 27a7919fa8d...
XZ compressed source tarball Source release b3b6d2c92f4...
macOS 64‑bit/32‑bit installer macOS for Mac OS...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK, thanks. Does the error still occur if you upgrade pip?
Can confirm that the pip update also solves the issue on Centos7