The attribute section_bubble_up_kludge is no longer used in Docutils 0.22. You may try whether updating to Docutils 0.22.2 (released 20. Sept. 2025) solves the problem.
section_bubble_up_kludge