Skip to content

KeyError: 'soft-deprecated' with make changes #155095

Description

@syphyr

Bug report

Bug description:

The following command fails when build sphinx doc:

make -C Doc changes

The is causes by the following commit: 5b33424

Traceback

Traceback (most recent call last):
  File "/home/cbot/.local/lib/python3.14/site-packages/sphinx/cmd/build.py", line 432, in build_main
    app.build(args.force_all, args.filenames)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cbot/.local/lib/python3.14/site-packages/sphinx/application.py", line 426, in build
    self.builder.build_update()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/home/cbot/.local/lib/python3.14/site-packages/sphinx/builders/__init__.py", line 372, in build_update
    self.build(['__all__'], summary=to_build, method='update')
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cbot/.local/lib/python3.14/site-packages/sphinx/builders/__init__.py", line 454, in build
    self.write(docnames, updated_docnames, method)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cbot/.local/lib/python3.14/site-packages/sphinx/builders/__init__.py", line 735, in write
    self.write_documents(docnames)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/home/cbot/.local/lib/python3.14/site-packages/sphinx/builders/changes.py", line 61, in write_documents
    ttext = self.typemap[changeset.type]
            ~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'soft-deprecated'

CPython versions tested on:

3.14

Operating systems tested on:

Linux

Linked PRs

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    on Aug 2, 2026
  2. added a commit that references this issue on Aug 2, 2026
    b2af8da
  3. StanFromIreland commented on Aug 2, 2026

    @StanFromIreland
    Member

    Please provide the full logs, as it will include Sphinx and Python versions and other details. Does it only happen for you on the 3.14 branch? Our documentation builds run correctly, do you need patches to the documentation to make it crash?

  4. added
    pendingThe issue will be closed if no feedback is provided
    on Aug 2, 2026
  5. StanFromIreland commented on Aug 2, 2026

    @StanFromIreland
    Member

    Ah, I didn't notice you were running make changes (I forgot we still have that, I'm not sure we use it anywhere, out of curiosity what do you use it for?), I can reproduce it.

  6. syphyr commented on Aug 2, 2026

    @syphyr
    Author

    Please provide the full logs, as it will include Sphinx and Python versions and other details. Does it only happen for you on the 3.14 branch? Our documentation builds run correctly, do you need patches to the documentation to make it crash?

    This only happens on the 3.14 branch since it is caused by 5b33424

    To reproduce, run the following command:

    make -C Doc changes

    There are no patches required to cause the build error. This is because soft-deprecated in not defined in changes.py in site-packages.

    This fixes the build issue: #155096

  7. removed
    pendingThe issue will be closed if no feedback is provided
    on Aug 2, 2026
  8. syphyr commented on Aug 2, 2026

    @syphyr
    Author

    Im sorry, I should have tried to merge with 3.14 branch. My PR was closed. Here is a fixed version:

    #155098

  9. syphyr commented on Aug 2, 2026

    @syphyr
    Author

    Ah, I didn't notice you were running make changes (I forgot we still have that, I'm not sure we use it anywhere, out of curiosity what do you use it for?), I can reproduce it.

    I used it to build a debian package that requires the changes file.

  10. changed the title [-]KeyError: 'soft-deprecated'[/-] [+]KeyError: 'soft-deprecated' with `make changes`[/+] on Aug 2, 2026
  11. syphyr commented on Aug 13, 2026

    @syphyr
    Author

    This is fixed by #155100

  12. added 3 commits that reference this issue on Sep 12, 2026
  13. added a commit that references this issue on Sep 12, 2026
  14. hugovk commented on Sep 12, 2026

    @hugovk
    Member

    Thanks for the report! This is now fixed.

  15. added a commit that references this issue on Sep 12, 2026
  16. added a commit that references this issue on Sep 14, 2026
  17. added a commit that references this issue on Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

docsDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or error

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions