Skip to content

docs build fail on Sphinx v3.2.1 #1912

Closed

Description

@aaronmarkham

Describe the bug

Warning, treated as error:
/home/ubuntu/anaconda3/envs/sagemaker/lib/python3.7/site-packages/sagemaker/amazon/linear_learner.py:docstring of sagemaker.LinearLearner:184:Field list ends without a blank line; unexpected unindent.

To reproduce
Setup an env w/ the latest Sphinx (3.2.1) and build the docs.

Activity

  1. icywang86rui commented on Sep 30, 2020

    @icywang86rui
    Contributor

    There seem to be a bug in Sphinx 3.2.1 that causes this - sphinx-doc/sphinx#8190
    It should be fixed in 3.3.

  2. metrizable commented on Oct 6, 2020

    @metrizable
    Contributor

    This is also a little surprising, given that the sphinx tox target creates an isolated environment and installs its requirements, including specifying sphinx==3.1.1.

    @aaronmarkham Can you describe how you are building the docs? Is it being done outside of a tox env?

  3. icywang86rui commented on Oct 27, 2020

    @icywang86rui
    Contributor

    It seems like there is nothing actionable here for us other than waiting for 3.3 to be released. Resolving. @aaronmarkham feel free to reopen if you need to upgrade to v3.2.1 now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions