Skip to content

fix: always install Chocolatey packages in Windows doc-build - #1658

Merged
moe-ad merged 3 commits into
mainfrom
fix/doc-build-windows-choco-cache
Nov 17, 2026
Merged

moe-ad merged 3 commits into
mainfrom
fix/doc-build-windows-choco-cache

Conversation

@moe-ad

@moe-ad moe-ad commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Since the caching we do in _doc-build-windows is only for the "package download location" (i.e. ~\AppData\Local\Temp\chocolatey) and not the installation location (usually C:\ProgramData\chocolatey\lib), the packages still need to be installed even if there was a cache hit.

I noticed this bug while working on ansys/pydpf-core#3627.

The cache stores only the downloaded packages, not the installed programs.
A cache hit skipped the install step, so tools such as graphviz were missing.

Co-authored-by: Copilot <[email protected]>
@moe-ad
moe-ad requested a review from a team as a code owner November 17, 2026 09:29
@github-actions github-actions Bot added the fix Pull requests related to resolving problems or errors label Nov 17, 2026

@jorgepiloto jorgepiloto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will require a patch release. Thanks, @moe-ad

@moe-ad
moe-ad merged commit e1f0e97 into main Nov 17, 2026
94 checks passed
@moe-ad
moe-ad deleted the fix/doc-build-windows-choco-cache branch November 17, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Pull requests related to resolving problems or errors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants