nuttx/.github/workflows
Marco Casaroli eba1d9561b ci: Build the documentation from its lock file.
The documentation job installs with `pipenv install`, which does not honour
the committed Pipfile.lock.  Every run in the logs prints "Locking
dependencies..." and "Updated Pipfile.lock" and then installs from the set it
has just re-resolved, so each build takes whatever PyPI resolves that day
rather than what the lock file names.

On the evening of 2026-08-03 that resolution produced a virtualenv without
packaging, and four unrelated pull requests failed identically, before Sphinx
had read a single file:

  File ".../sphinx/extension.py", line 7, in <module>
      from packaging.version import InvalidVersion, Version
  ModuleNotFoundError: No module named 'packaging'

`pipenv sync` installs exactly what Pipfile.lock names and never re-resolves,
which is what the lock file is for.  The committed lock covers all fourteen
packages the Pipfile asks for, packaging included, so it is complete enough to
install from as it stands.

The workflow also ran only for changes under Documentation/, so a change to the
documentation build was never exercised by the build it changed.  It now
triggers on its own path as well, which is what tests this commit.

Assisted-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-08-04 17:28:41 -03:00
..
arch.yml ci: split xtensa jobs into three separate jobs (instead of two) 2026-03-28 06:14:34 +08:00
build.yml ci: Support pull request dependencies via Depends-On. 2026-08-01 20:26:14 +08:00
check.yml build(deps): bump actions/checkout from 5 to 7 2026-06-24 02:05:45 +08:00
depends-on-comment.yml ci: Support pull request dependencies via Depends-On. 2026-08-01 20:26:14 +08:00
doc.yml ci: Build the documentation from its lock file. 2026-08-04 17:28:41 -03:00
docker_linux.yml build(deps): bump docker/login-action from 4.4.0 to 4.5.1 2026-07-27 13:34:04 -04:00
issue_labeler.yml build(deps): bump actions/github-script from 8.0.0 to 9.0.0 2026-04-13 15:03:58 +08:00
labeler.yml build(deps): bump actions/checkout from 5 to 7 2026-06-24 02:05:45 +08:00
lint.yml build(deps): bump actions/checkout from 5 to 7 2026-06-24 02:05:45 +08:00
membrowse-comment.yml build(deps): bump actions/setup-python from 6 to 7 2026-07-27 13:34:36 -04:00
membrowse-onboard.yml build(deps): bump actions/checkout from 5 to 7 2026-06-24 02:05:45 +08:00
membrowse-report.yml build(deps): bump actions/setup-python from 6 to 7 2026-07-27 13:34:36 -04:00
pr_labeler.yml build(deps): bump actions/github-script from 8.0.0 to 9.0.0 2026-04-13 15:03:58 +08:00