Skip to content

Getting CRITICAL 'Config' object is not subscriptable error in 22.12.0 #461

@namurphy

Description

@namurphy

We just ran into a new error with the changelog part of our documentation build after the recent release of towncrier 22.12.0, which does not occur with 22.8.0. I'm trying to fix it in PlasmaPy/PlasmaPy#1850. Here's a link to the most recent build failure.

We have a file, docs/whatsnew/dev.rst, which on our main branch is:

:orphan:

.. changelog::
   :towncrier: ../../

It's referred to within a toctree in our docs/whatsnew/index.html.

After the 22.12.0 release, we starting getting this error:

/home/runner/work/PlasmaPy/PlasmaPy/docs/whatsnew/dev.rst:3: CRITICAL: 'Config' object is not subscriptable

I'm not sure if the Config object refers to Config from load.py in towncrier or sphinx.sphinx.config.Config. I'm also not sure if this is related to something peculiar to our setup, or something more general.

(We also got a new missing title error for dev.rst, which we fixed by adding a title.)

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions