Skip to content

[AI] docs: drop OptimizationEvolutionary, pin docs CI to Julia 1.12#1204

Open
SebastianM-C wants to merge 1 commit into
masterfrom
smc/docs
Open

[AI] docs: drop OptimizationEvolutionary, pin docs CI to Julia 1.12#1204
SebastianM-C wants to merge 1 commit into
masterfrom
smc/docs

Conversation

@SebastianM-C
Copy link
Copy Markdown
Member

Summary

The docs environment was failing to resolve because Evolutionary.jl 0.11 caps NLSolversBase at <8, while Optim 2.0 (via OptimizationOptimJL) now requires NLSolversBase 8. Dropping OptimizationEvolutionary is the only change needed to get a clean resolve.

  • docs/Project.toml — remove OptimizationEvolutionary from [deps] / [sources] / [compat]; bump OptimizationAuglag compat from "1.3" to "2" to match the sublib's current version. Pkg also collapsed the per-package [sources.X] blocks into the inline [sources] table (equivalent TOML).
  • .github/workflows/Documentation.yml:
    • exclude OptimizationEvolutionary from the readdir("lib") develop loop alongside the existing OptimizationMultistartOptimization exclusion
    • drop the redundant PackageSpec(path = pwd()) (covered by [sources.Optimization])
    • drop lib/OptimizationEvolutionary/src from the codecov directories list
    • pin setup-julia version from "1" to "1.12"
  • docs/pages.jl, docs/src/index.md, docs/src/examples/rosenbrock.md — remove Evolutionary entries
  • docs/src/optimization_packages/evolutionary.md — deleted

After these changes the env resolves with NLSolversBase v8.0.0 and Optim v2.0.1.

Test plan

  • julia --project=docs/ -e '...; Pkg.instantiate()' resolves cleanly
  • julia --project=docs/ docs/make.jl runs through every Documenter pipeline stage; only failures locally are a PRIMA precompile (libprimac.so blocked by local SELinux/noexecstack) and two transient linkcheck 403/429s — both env-specific to the dev machine, not real docs issues
  • Documentation CI green on GitHub Actions

🤖 Generated with Claude Code

Evolutionary.jl 0.11 caps NLSolversBase to <8, but Optim 2.0 (via
OptimizationOptimJL) requires NLSolversBase 8. Dropping
OptimizationEvolutionary is the only change needed to make the docs
environment resolve.

- docs/Project.toml: drop OptimizationEvolutionary from [deps] /
  [sources] / [compat]; bump OptimizationAuglag to "2" to match the
  current sublib version. Pkg also reformatted [sources.X] blocks
  into the inline [sources] table (equivalent TOML).
- .github/workflows/Documentation.yml:
  - exclude OptimizationEvolutionary from the readdir("lib") develop
    loop (alongside the existing OptimizationMultistartOptimization
    exclusion)
  - drop the redundant `PackageSpec(path = pwd())` since
    [sources.Optimization] already pins it
  - drop lib/OptimizationEvolutionary/src from the codecov directories
  - pin julia version from "1" → "1.12"
- docs/pages.jl, docs/src/index.md, docs/src/examples/rosenbrock.md:
  remove Evolutionary entries
- docs/src/optimization_packages/evolutionary.md: deleted

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ChrisRackauckas
Copy link
Copy Markdown
Member

Could we fork evolutionary? Or migrate? Probably worth asking at this point

@SebastianM-C
Copy link
Copy Markdown
Member Author

Yeah, like we moved BBO?

@ChrisRackauckas
Copy link
Copy Markdown
Member

Yes. Open the issue and try to track down the author. Email or something, see if we can catch them.

@SebastianM-C
Copy link
Copy Markdown
Member Author

SebastianM-C commented May 7, 2026

did you time travel? 😅
SciML/Evolutionary.jl#131

@ChrisRackauckas
Copy link
Copy Markdown
Member

Yes, improves the response time

@ChrisRackauckas
Copy link
Copy Markdown
Member

Okay if there's no email it can be worth opening something to general to discuss moving it. Let's start doing some next step since I don't think we will get a responce. They used to be on slack, are they still?

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