Add reachy_mini mock-deps registry entry#807
Merged
mishig25 merged 1 commit intoJul 13, 2026
Merged
Conversation
Lets doc-builder build the pollen-robotics/reachy_mini docs on a bare runner via light-install + mock_deps, replacing the custom Docker image the project used before custom_container was dropped. Mocked deps need system libraries (gi/dbus), are hardware/robot or optional-extra packages, or are heavy wheels not needed to introspect docstrings. Validated with a full `doc-builder build --html` (exit 0, all API pages generated with real signatures/docstrings). Assisted-by: Claude:claude-opus-4-8
FabienDanieau
added a commit
to pollen-robotics/reachy_mini
that referenced
this pull request
Jul 13, 2026
Same fix as the main doc build: build_pr_documentation.yml@main also dropped the custom_container input, so PR doc builds would likewise startup_failure. Deps come from doc-builder's mock-deps registry (huggingface/doc-builder#807). Assisted-by: Claude:claude-opus-4-8
FabienDanieau
added a commit
to pollen-robotics/reachy_mini
that referenced
this pull request
Jul 13, 2026
Same fix as the main doc build: build_pr_documentation.yml@main also dropped the custom_container input, so PR doc builds would likewise startup_failure. Deps come from doc-builder's mock-deps registry (huggingface/doc-builder#807). Assisted-by: Claude:claude-opus-4-8
FabienDanieau
added a commit
to pollen-robotics/reachy_mini
that referenced
this pull request
Jul 13, 2026
* docs(ci): drop removed custom_container input from doc build huggingface/doc-builder dropped the custom_container input from its reusable build workflows, so passing it now fails the workflow at startup (startup_failure, 0 jobs). Remove it; the build runs on the bare runner and gets its deps via doc-builder's mock-deps registry (see huggingface/doc-builder#807). Assisted-by: Claude:claude-opus-4-8 * docs(ci): drop custom_container from PR doc build too Same fix as the main doc build: build_pr_documentation.yml@main also dropped the custom_container input, so PR doc builds would likewise startup_failure. Deps come from doc-builder's mock-deps registry (huggingface/doc-builder#807). Assisted-by: Claude:claude-opus-4-8
This was referenced Jul 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
src/doc_builder/mock_deps/reachy_mini.txtso the pollen-robotics/reachy_mini docs build on a bare runner vialight-install+mock_deps, instead of the custom Docker image the project relied on beforecustom_containerwas removed from the build workflows.Why
reachy_minipulls inPyGObject(needslibgirepository/cairo system headers at install time),dbus-python, plus hardware/robot and optional-extra packages (gstreamer bindings, mujoco, rerun, placo, opencv…). On the currentubuntu-22.04build runner none of these are available, andpre_commandruns after the package install — too late for the install-time system libs. The registry entry sidesteps this: only the light, wheel-only deps are installed for real; everything native/heavy is mocked at introspection time.Validation
Reproduced the CI light-install path locally against
reachy_miniv1.9.0:doc-builder light-install reachy_mini --check→ recognized ✓doc-builder build reachy_mini docs/source --html --clean→ exit 0, everyAPI/*.htmlpage generated.mediaclasses that depend on the mockedgi/dbus(GStreamerAudio.get_DoA, …) and the top-levelReachyMini.__init__render their real signatures, defaults, and docstrings.Notes
Bare lines are import names (mocked);
real:lines are the light deps installed for real. Follows the format of the existinglerobot.txt/transformers.txtentries.