ci(docs-backfill): isolated venv + per-version toolchain#57
Merged
Conversation
Build each version in its own virtualenv so the installed tttrlib version does not leak between builds (a shared env mislabeled 0.26.0 as 0.26.1). Select the doc toolchain per version: tiered conf.py (BUILD_TIER) uses the modern toolchain; older pre-tiered conf.py builds with its contemporary pins (sphinx<7, sphinxcontrib-bibtex<2, older sphinx-gallery), and gets the auto_examples notebook-exclusion the tiered conf.py already carries. Fixes the 0.26.0 mislabel and lets 0.24.x/0.25.x build.
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.
Fixes two backfill defects surfaced while populating the version selector:
import tttrlib.__version__/ autodoc picked up 0.26.1). Now each version builds in its own virtualenv.conf.pybreaks under modern Sphinx (a cascade:bibtex_bibfilesrequired by bibtex 2.x, sphinx-gallery pickle error, gallery.ipynbcolliding with.rst). Now the toolchain is chosen per version: tieredconf.py(BUILD_TIER) → modern; pre-tiered → its contemporary pins (sphinx<7,sphinxcontrib-bibtex<2, oldersphinx-gallery) plus theauto_examples/*.ipynbexclusion the tiered conf already has.After merge, re-dispatch the backfill for all versions; each builds correctly and with the right version label.