Skip to content

Pin the doc-builder workflows to their pre-#648 revisions - #650

Merged
tomaarsen merged 1 commit into
huggingface:mainfrom
tomaarsen:fix/pin-doc-builder-workflows
Sep 4, 2026
Merged

tomaarsen merged 1 commit into
huggingface:mainfrom
tomaarsen:fix/pin-doc-builder-workflows

Conversation

@tomaarsen

Copy link
Copy Markdown
Member

Hello!

Heads up, this PR was AI-generated and human-reviewed.

Pull Request overview

Details

Every docs build since #648 fails, including the ones for #649 and the v1.2.0 release commit, while every build before it passed. The bump moved the reusable workflows past huggingface/doc-builder#801, which introduced a light install: when doc-builder has a mock-deps registry entry for the package, the workflow installs the package with --no-deps and then only the packages that the entry lists as real:. The entry for setfit only lists packages to mock and no real ones, so datasets, pandas, transformers, huggingface_hub and evaluate are never installed and importing setfit fails with ModuleNotFoundError: No module named 'pandas'.

This PR pins the four workflows back to the revisions in use before #648, which do a full [dev] install. Those revisions built, uploaded and commented on the #649 docs earlier today, so they are known to work end to end.

Two follow-ups. Dependabot will propose the same bump again, so its PRs for huggingface/doc-builder should be closed (or ignored in dependabot.yml) until the registry is fixed. The proper fix is adding real: entries for setfit's dependencies to src/doc_builder/mock_deps/setfit.txt in doc-builder, after which the bump can be accepted.

  • Tom Aarsen

The newer doc-builder reusable workflows do a light install when the
package has a mock-deps registry entry, installing the package with
--no-deps plus only the packages that entry lists as real. The setfit
entry lists nothing as real, so every docs build since huggingface#648 fails with
ModuleNotFoundError for pandas. The previous revisions do a full [dev]
install and still work.
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@tomaarsen
tomaarsen merged commit 3a590a0 into huggingface:main Sep 4, 2026
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants