Repository navigation
[docs] Unpin breathe now that 5.1.0 fixes template specialization names - #12307
Conversation
breathe 5.0.0 dropped template arguments from class template specialization names, which crashed Sphinx's C++ domain and led to the `<5` pin in NVIDIA#11582. The fix (breathe-doc/breathe#1085) shipped in breathe 5.1.0, so require that release instead. Closes NVIDIA#11777
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Update Breathe version requirement docs/requirements.txt |
The Breathe requirement changed to >=5.1.0, with no upper version bound. |
Assessment against linked issues
| Objective | Addressed | Explanation |
|---|---|---|
Remove the Breathe <5 restriction after the fix is released [11777] |
✅ |
Suggested reviewers: bernhardmgruber
Priority:
Change: Other
Merge Risk: 
Minimal · previous review 4a092
-
No actionable merge-blocking risk remains in this dependency update.
Comment @coderabbitai help to get the list of available commands.
|
/ok to test ed619dd |
|
/ok to test 366f1c0 |
|
@KassaSana please do not merge main unless there are merge conflicts. There is no reason to restart CI |
Noted ! |
Description
closes #11777
#11582 pinned
breathe<5because breathe 5.0.0 dropped template arguments from class template specialization names, crashing Sphinx's C++ domain (assert parent_symbol) and hanging the docs job. The fix (breathe-doc/breathe#1085) shipped in breathe 5.1.0, so this requiresbreathe>=5.1.0.Verification
Built the full docs locally (
docs/gen_docs.bash, Doxygen 1.9.6, Sphinx 9.1.1,-W --keep-going,-j auto) onmainwith breathe 4.36.0 and on this branch with breathe 5.1.0, then compared the output:ShuffleDowndocs read "warp-lane i + src_offset" where they used to read "warp-lane + .".—now render the dash.constexpris missing from 21 member signatures across 12 pages, for examplecuda::pinned_memory_pool::release,cuda::eventandcuda::get_stream_t. Doxygen 1.9.6 leavesconstexprin<type>without settingconstexpr="yes". Since breathe 5 (as part of the fix for Breathe 5.0.0 duplicatesconstexpron constructors, producing invalid C++ declarations breathe-doc/breathe#1081), breathe stripsconstexprfrom the type and re-adds it only from that attribute. Newer Doxygen sets the attribute.#include <cub/cub.cuh>// or equivalently ...). This is cosmetic.These regressions could be fixed separately by bumping the pinned Doxygen, or upstream in breathe. I'm happy to open follow-up issues if that's useful.
Checklist