Skip to content
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

Travis CI ImportError "No module named backports.functools_lru_cache" #8562

Closed
thinkyhead opened this issue Nov 25, 2017 · 4 comments
Closed
Labels
C: Build / Toolchain T: Development Makefiles, PlatformIO, Python scripts, etc.

Comments

@thinkyhead
Copy link
Member

What could be causing this in our Travis CI testing?

Traceback (most recent call last):
  File "/home/travis/virtualenv/python2.7.13/bin/platformio", line 7, in <module>
    from platformio.__main__ import main
  File "/home/travis/virtualenv/python2.7.13/lib/python2.7/site-packages/platformio/__main__.py", line 23, in <module>
    from platformio import __version__, exception, maintenance
  File "/home/travis/virtualenv/python2.7.13/lib/python2.7/site-packages/platformio/maintenance.py", line 25, in <module>
    from platformio.commands.lib import lib_update as cmd_lib_update
  File "/home/travis/virtualenv/python2.7.13/lib/python2.7/site-packages/platformio/commands/lib.py", line 22, in <module>
    import arrow
  File "/home/travis/virtualenv/python2.7.13/lib/python2.7/site-packages/arrow/__init__.py", line 3, in <module>
    from .arrow import Arrow
  File "/home/travis/virtualenv/python2.7.13/lib/python2.7/site-packages/arrow/arrow.py", line 19, in <module>
    from arrow import util, locales, parser, formatter
  File "/home/travis/virtualenv/python2.7.13/lib/python2.7/site-packages/arrow/parser.py", line 12, in <module>
    from backports.functools_lru_cache import lru_cache  # pragma: no cover
ImportError: No module named backports.functools_lru_cache
@thinkyhead thinkyhead added T: Development Makefiles, PlatformIO, Python scripts, etc. C: Build / Toolchain labels Nov 25, 2017
@Roxy-3D
Copy link
Member

Roxy-3D commented Nov 25, 2017

My guess is Travis is broken... And this problem will go away when they fix it. But that is just a guess.

Is there an easy way to search other projects on GitHub that use Travis? Because I bet they are seeing problems too. Travis is a GitHub project... Maybe there are issues being opened up there?

@thinkyhead
Copy link
Member Author

thinkyhead commented Nov 25, 2017

#8563 seems to fix it, for now.

@ivankravets
Copy link
Contributor

Fixed in arrow-py/arrow#495

Just restart a job.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C: Build / Toolchain T: Development Makefiles, PlatformIO, Python scripts, etc.
Projects
None yet
Development

No branches or pull requests

3 participants