Skip to content

readthedocs isn't building #5543

@jepler

Description

@jepler

see e.g., this build: https://readthedocs.org/projects/circuitpython/builds/15185882/

Running Sphinx v3.5.4
Traceback (most recent call last):
  File "tools/extract_pyi.py", line 201, in convert_folder
    tree = ast.parse(fragment)
  File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 27
    def continuous_capture_start(self, buffer1: WriteableBuffer, buffer2: WriteableBuffer, /) -> None:
                                                                                           ^
SyntaxError: invalid syntax
make: *** [stubs] Error 1

This is due to syntax introduced into a comment at #5540.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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