nuttx/.github
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
..
actions free disk space action added to fix docker image build issue 2023-12-08 14:42:17 +01:00
ISSUE_TEMPLATE .github/ISSUE_TEMPLATE: Add host_info command section into bug report template 2025-01-21 09:11:17 +08:00
linters .github/linters: Ignore E704 warning 2024-11-17 08:31:08 -03:00
scripts ci: Support pull request dependencies via Depends-On. 2026-08-01 20:26:14 +08:00
workflows ci: Build the documentation from its lock file. 2026-08-04 17:28:41 -03:00
CODEOWNERS arch/arm/src/stm32: unify pulse count driver into common/stm32 2026-07-12 09:35:51 +08:00
dependabot.yml chore: Included githubactions in the dependabot config 2022-06-19 11:43:10 +08:00
gcc.json .github/gcc.json: Fix space/tab inconsistency 2022-04-12 13:43:06 +08:00
labeler.yml CI: fix labeler for common boards files 2026-03-08 17:29:17 +01:00
membrowse-targets.json ci/testing: Update MemBrowse targets and concurrency condition 2026-06-25 12:56:02 -03:00
nxstyle.json Add problem matching for gcc and nxstyle to github actions 2020-06-11 00:52:55 +08:00
PULL_REQUEST_TEMPLATE.md docs/pr-template: Update the testing section of the PR template 2025-09-08 08:09:57 -03:00
SECURITY.md .github: SECURITY.md update. 2026-07-08 09:52:09 +08:00