You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
KeyError: 'soft-deprecated' with make changes #155095
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 buildself.builder.build_update()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/home/cbot/.local/lib/python3.14/site-packages/sphinx/builders/__init__.py", line 372, in build_updateself.build(['__all__'], summary=to_build, method='update')
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cbot/.local/lib/python3.14/site-packages/sphinx/builders/__init__.py", line 454, in buildself.write(docnames, updated_docnames, method)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cbot/.local/lib/python3.14/site-packages/sphinx/builders/__init__.py", line 735, in writeself.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'
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?
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.
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.
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.
Activity
Add soft-deprecated to site-packages
StanFromIreland commentedon Aug 2, 2026
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?
StanFromIreland commentedon Aug 2, 2026
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.syphyr commentedon Aug 2, 2026
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-deprecatedin not defined in changes.py in site-packages.This fixes the build issue: #155096
syphyr commentedon Aug 2, 2026
Im sorry, I should have tried to merge with 3.14 branch. My PR was closed. Here is a fixed version:
#155098
syphyr commentedon Aug 2, 2026
I used it to build a debian package that requires the
changesfile.[-]KeyError: 'soft-deprecated'[/-][+]KeyError: 'soft-deprecated' with `make changes`[/+]syphyr commentedon Aug 13, 2026
This is fixed by #155100
gh-155095: Fix docs changes builder for our custom directives (#155100)
[3.14] gh-155095: Fix docs changes builder for our custom directives (G…
[3.13] gh-155095: Fix docs changes builder for our custom directives (G…
[3.15] gh-155095: Fix docs changes builder for our custom directives (G…
hugovk commentedon Sep 12, 2026
Thanks for the report! This is now fixed.
pythongh-155095: Fix docs changes builder for our custom directives (p…
pythongh-155095: Fix docs changes builder for our custom directives (p…
pythongh-141044: Fix Docs soft-deprecated KeyError in changes builder