Skip to content

ci(windows): install doxygen from conda-forge instead of chocolatey - #9444

Merged
timosachsenberg merged 1 commit into
developfrom
claude/eager-newton-48zP5
Jun 4, 2026
Merged

timosachsenberg merged 1 commit into
developfrom
claude/eager-newton-48zP5

Conversation

@timosachsenberg

@timosachsenberg timosachsenberg commented Jun 4, 2026 •

Copy link
Copy Markdown
Contributor

Description

The Windows build-and-test job currently fails in the dependency-install step, before any compilation, because choco install doxygen.portable downloads from doxygen.nl, which intermittently returns HTTP 403:

Attempt to get headers for https://www.doxygen.nl/files/doxygen-1.14.0.windows.x64.bin.zip failed.
... The remote server returned an error: (403) Forbidden.
Chocolatey installed 5/6 packages. 1 packages failed.
 - doxygen.portable (exited 404) ...
##[error]Process completed with exit code 148.

Since choco install -y exits non-zero when any package fails, the whole job aborts before CMake/compilation runs. The package is also self-flagged "Likely broken for FOSS users (due to download location changes)". This is an external-download flake that affects every Windows build and is unrelated to the recent C++23 switch — all four compiler builds pass and the Windows MSVC toolset (14.44.35207 / VS 2022 17.14) is current.

Fix (.github/actions/dependencies/action.yml)

  • Remove doxygen.portable from the Chocolatey package list.
  • Install doxygen from conda-forge instead (alongside the existing libarrow/libparquet/libzip), which ships its own artifact and avoids doxygen.nl entirely. The conda env's Library/bin is already exported to PATH, so CMake's find_package(Doxygen) picks it up.

Doxygen is kept rather than dropped because Windows intentionally builds the docs (enable_docs=ON) to catch Doxygen errors pre-merge.

Notes

  • CI-infrastructure change only — no library/source, CHANGELOG, or Python-binding impact.
  • The real confirmation is the next Windows CI run; the only load-bearing assumption is that conda-forge's doxygen.exe installs to %PREFIX%\Library\bin (the standard conda-forge layout, already on PATH).

https://claude.ai/code/session_01554aWq9m2NcmtreFA5ufSS


Generated by Claude Code

Summary by CodeRabbit

  • Chores
    • Updated dependency installation configuration for Windows builds to optimize the setup process.

The Windows build-and-test job fails in the dependency-install step
because `choco install doxygen.portable` downloads from doxygen.nl,
which intermittently returns HTTP 403 (the package is also self-flagged
"Likely broken for FOSS users"). `choco install -y` then exits non-zero
and aborts the job before any compilation, so this failure is unrelated
to the recent C++23 switch or to compiler/runner versions (all four
compiler builds pass; the Windows MSVC toolset 14.44 is current).

Windows builds the docs (enable_docs=ON) to catch Doxygen errors
pre-merge, so doxygen must stay available. Install it from conda-forge
(already used for libarrow/libparquet/libzip); its artifact lands in
Library/bin, which is already exported to PATH. Drop doxygen.portable
from the chocolatey list.
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

@timosachsenberg The following names might be missing from the AUTHORS file:

  • Claude

Please consider applying the following patch:

--- AUTHORS	2026-06-04 09:25:32.850275191 +0000
+++ AUTHORS.new	2026-06-04 09:25:37.833127238 +0000
@@ -22,8 +22,9 @@
  - Chirag Dave
  - Chris Bauer
  - Chris Bielow
- - Christie Mathews
  - Christian Ehrlich
+ - Christie Mathews
+ - Claude
  - Clemens Groepl
  - Cornelia Friedle
  - Daniel Jameson

@coderabbitai

coderabbitai Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5a2dd6c0-63c4-4c4c-847b-f48003a69f10

📥 Commits

Reviewing files that changed from the base of the PR and between 9f144f0 and e878274.

📒 Files selected for processing (1)
  • .github/actions/dependencies/action.yml

📝 Walkthrough

Walkthrough

The PR consolidates Doxygen installation in the Windows dependency setup by adding doxygen to the Conda install command and removing doxygen.portable from the Chocolatey install step, with updated comments clarifying that Doxygen is provisioned from Conda.

Changes

Dependency Installation Consolidation

Layer / File(s) Summary
Move Doxygen from Chocolatey to Conda
.github/actions/dependencies/action.yml
Conda install step now includes doxygen with clarifying comments about Conda-forge provisioning, and Chocolatey step removes doxygen.portable with comments explaining Doxygen comes from Conda.

Possibly Related PRs

  • OpenMS/OpenMS#8241: Enables documentation generation across OS in CI workflow alongside this Doxygen installation consolidation.
  • OpenMS/OpenMS#9212: Introduces dependency-handling logic in the same .github/actions/dependencies/action.yml file.

Suggested Reviewers

  • jpfeuffer
  • pjones

Poem

🐰 Doxygen hops from Chocolatey to Conda's embrace,
Cross-platform peace settles in its place,
From Chocolatey dust to Conda's clean shore,
Dependencies unified, no mess anymore! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: moving Doxygen installation from Chocolatey to Conda-forge on Windows CI.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/eager-newton-48zP5

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@timosachsenberg

timosachsenberg commented Jun 4, 2026 •

Copy link
Copy Markdown
Contributor Author

@cbielow do you know if the version is recent enough for windows?

Copy link
Copy Markdown
Contributor Author

For reference, the version data for this change:

  • conda-forge provides doxygen 1.13.2 for win-64, which is what this PR installs on Windows.
  • That's newer than the apt doxygen (~1.9.8) the Ubuntu doc-validation job already builds the docs with on every PR, and well above OpenMS's declared minimum of 1.8.13 (doc/CMakeLists.txt).
  • The chocolatey doxygen.portable package was on 1.14.0 — one minor newer, but that's exactly the version currently failing to download (HTTP 403), which is what this PR fixes.
  • Empirically: the Windows build-and-test job — which builds the docs (enable_docs=ON) — just passed on this PR with conda-forge 1.13.2.

So it looks recent enough. conda-forge just doesn't have 1.14.0 for win-64 yet, but the doc build doesn't require it.


Generated by Claude Code

@timosachsenberg
timosachsenberg merged commit af8bc7a into develop Jun 4, 2026
43 checks passed
@timosachsenberg
timosachsenberg deleted the claude/eager-newton-48zP5 branch June 4, 2026 12:40
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