Skip to content

Redis: 'docs' session breaks CI. #8099

@tseaver

Description

@tseaver

See this Kokoro failure:

Running session docs
Creating virtualenv using python3.7 in /tmpfs/src/github/google-cloud-python/redis/.nox/docs
pip install -e .
pip install sphinx alabaster recommonmark
sphinx-build -W -T -N -b html -d docs/_build/doctrees/ docs/ docs/_build/html/
Running Sphinx v2.0.1
making output directory... done
/tmpfs/src/github/google-cloud-python/redis/.nox/docs/lib/python3.7/site-packages/sphinx/events.py:76: RemovedInSphinx30Warning: autodoc_default_flags is now deprecated. Please use autodoc_default_options instead.
  results.append(callback(*args))
[autosummary] generating autosummary for: gapic/v1/api.rst, gapic/v1/types.rst, gapic/v1beta1/api.rst, gapic/v1beta1/types.rst, index.rst
loading intersphinx inventory from http://python.readthedocs.org/en/latest/objects.inv...
intersphinx inventory has moved: http://python.readthedocs.org/en/latest/objects.inv -> https://python.readthedocs.io/en/latest/objects.inv
loading intersphinx inventory from https://gax-python.readthedocs.org/en/latest/objects.inv...
intersphinx inventory has moved: https://gax-python.readthedocs.org/en/latest/objects.inv -> https://gax-python.readthedocs.io/en/latest/objects.inv
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 5 source files that are out of date
updating environment: 5 added, 0 changed, 0 removed
reading sources... [ 20%] gapic/v1/api
reading sources... [ 40%] gapic/v1/types
reading sources... [ 60%] gapic/v1beta1/api
reading sources... [ 80%] gapic/v1beta1/types
reading sources... [100%] index
Traceback (most recent call last):
  File "/tmpfs/src/github/google-cloud-python/redis/.nox/docs/lib/python3.7/site-packages/sphinx/cmd/build.py", line 284, in build_main
    app.build(args.force_all, filenames)
  File "/tmpfs/src/github/google-cloud-python/redis/.nox/docs/lib/python3.7/site-packages/sphinx/application.py", line 337, in build
    self.builder.build_update()
  File "/tmpfs/src/github/google-cloud-python/redis/.nox/docs/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 326, in build_update
    len(to_build))
  File "/tmpfs/src/github/google-cloud-python/redis/.nox/docs/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 339, in build
    updated_docnames = set(self.read())
  File "/usr/local/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/tmpfs/src/github/google-cloud-python/redis/.nox/docs/lib/python3.7/site-packages/sphinx/util/logging.py", line 230, in pending_warnings
    memhandler.flushTo(logger)
  File "/tmpfs/src/github/google-cloud-python/redis/.nox/docs/lib/python3.7/site-packages/sphinx/util/logging.py", line 193, in flushTo
    logger.handle(record)
  File "/usr/local/lib/python3.7/logging/__init__.py", line 1477, in handle
    self.callHandlers(record)
  File "/usr/local/lib/python3.7/logging/__init__.py", line 1539, in callHandlers
    hdlr.handle(record)
  File "/usr/local/lib/python3.7/logging/__init__.py", line 849, in handle
    rv = self.filter(record)
  File "/usr/local/lib/python3.7/logging/__init__.py", line 711, in filter
    result = f.filter(record)
  File "/tmpfs/src/github/google-cloud-python/redis/.nox/docs/lib/python3.7/site-packages/sphinx/util/logging.py", line 426, in filter
    raise SphinxWarning(location + ":" + message)
sphinx.errors.SphinxWarning: /tmpfs/src/github/google-cloud-python/redis/docs/index.rst:1:Problems with "include" directive path:
InputError: [Errno 2] No such file or directory: 'redis/README.rst'.

Metadata

Metadata

Assignees

Labels

api: redisIssues related to the Memorystore for Redis API.testingtype: processA process-related concern. May include testing, release, or the like.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions