question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

yq-2.10.0 breaks on python 2.7

See original GitHub issue

argcomplete 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:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
kislyukcommented, Jan 15, 2020

OK, thanks. Does the error still occur if you upgrade pip?

0reactions
verdvermcommented, Jan 17, 2020

Can confirm that the pip update also solves the issue on Centos7

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found