Skip to content

docs: allow Surrogates 8 in the docs environment - #620

Closed
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:docs/surrogates-8-compat
Closed

ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:docs/surrogates-8-compat

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Please ignore until reviewed by @ChrisRackauckas.

What changed and why

The Documentation workflow on master has been red since the package version reached 8.0.0:

ERROR: empty intersection between Surrogates@8.0.0 and project compatibility 7

The docs workflow develops the checkout by path (so docs always build against the branch under test), and docs/Project.toml still declared Surrogates = "7". Allow 8 alongside 7.

Verification (local, Julia 1.12.4)

The failure was in dependency resolution, so the direct check is that the resolve now succeeds. After Pkg.develop(PackageSpec(path=pwd())) + Pkg.instantiate() exactly as CI performs:

  24867.7 ms  ✓ Surrogates
  5753.7 ms  ✓ Surrogates → SurrogatesAbstractGPsExt
  5785.6 ms  ✓ Surrogates → SurrogatesPolyChaosExt
  6229.8 ms  ✓ Surrogates → SurrogatesMOEExt
  7085.7 ms  ✓ Surrogates → SurrogatesXGBoostExt
  9053.1 ms  ✓ Surrogates → SurrogatesFluxExt
  58 dependencies successfully precompiled in 82 seconds. 394 already precompiled.

And the full julia --project=docs docs/make.jl then completes with zero failed blocks:

[ Info: CrossReferences: building cross-references.
[ Info: CheckDocument: running document checks.
[ Info: Populate: populating indices.
[ Info: RenderDocument: rendering document.
[ Info: HTMLWriter: rendering HTML pages.
[ Info: Automatic `version="8.0.0"` for inventory from ../Project.toml

All @example blocks on the rendered pages executed as part of that build.

Not verified

  • CI docs run on this PR (pending). Deployed rendering follows automatically once master docs complete.

🤖 Generated with OpenCode (model: muse-spark-1.3-contributor-free); no public session URL (local session at /home/crackauc/sandbox/tmp_20260917_040834_91074).

The docs workflow has been red since the package version reached 8.0.0:

  ERROR: empty intersection between Surrogates@8.0.0 and project compatibility 7

The docs workflow develops the checkout by path, so the docs compat entry has to
include the version on master. Allow 8 alongside 7.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Agent-Harness: OpenCode
Agent-Model: muse-spark-1.3-contributor-free
Agent-Session: local session at /home/crackauc/sandbox/tmp_20260917_040834_91074 (no public conversation URL)
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Superseded: #619 set docs/Project.toml Surrogates = "8" on master (commit 0e7d84a), which fixes the same resolution failure this PR addressed, and master's docs build is now green (run at 2026-09-19T20:27:54Z). Closing to avoid duplicate work.

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