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

ReadTheDocs CI target randomly failing #1274

Closed
acomodi opened this issue Jan 23, 2020 · 2 comments
Closed

ReadTheDocs CI target randomly failing #1274

acomodi opened this issue Jan 23, 2020 · 2 comments
Assignees

Comments

@acomodi
Copy link
Contributor

acomodi commented Jan 23, 2020

In some cases, the ReadTheDocs CI build fails with the following message:

Traceback (most recent call last):
  File "/home/docs/.pyenv/versions/2.7.16/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/home/docs/.pyenv/versions/2.7.16/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/docs/checkouts/readthedocs.org/user_builds/symbiflow-arch-defs/envs/1267/lib/python2.7/site-packages/pip/__main__.py", line 16, in <module>
    from pip._internal import main as _main  # isort:skip # noqa
  File "/home/docs/checkouts/readthedocs.org/user_builds/symbiflow-arch-defs/envs/1267/lib/python2.7/site-packages/pip/_internal/__init__.py", line 40, in <module>
    from pip._internal.cli.autocompletion import autocomplete
  File "/home/docs/checkouts/readthedocs.org/user_builds/symbiflow-arch-defs/envs/1267/lib/python2.7/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
    from pip._internal.cli.main_parser import create_main_parser
  File "/home/docs/checkouts/readthedocs.org/user_builds/symbiflow-arch-defs/envs/1267/lib/python2.7/site-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
    from pip._internal.commands import (
  File "/home/docs/checkouts/readthedocs.org/user_builds/symbiflow-arch-defs/envs/1267/lib/python2.7/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
    from pip._internal.commands.completion import CompletionCommand
  File "/home/docs/checkouts/readthedocs.org/user_builds/symbiflow-arch-defs/envs/1267/lib/python2.7/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
    from pip._internal.cli.base_command import Command
  File "/home/docs/checkouts/readthedocs.org/user_builds/symbiflow-arch-defs/envs/1267/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 25, in <module>
    from pip._internal.index import PackageFinder
ImportError: cannot import name PackageFinder
@mithro
Copy link
Contributor

mithro commented Jan 23, 2020

This is weird as it shouldn't be using Python 2.7?

@umarcor
Copy link
Contributor

umarcor commented Apr 6, 2022

A RTD config file was added a few months ago (1cfd9f5) which uses Python 3.7 explicitily. Hence, I'm closing this.

@umarcor umarcor closed this as completed Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants