From e90dc676aaf6f2c9257f125938bf2c25d49c5a9f Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Wed, 26 Aug 2026 04:49:48 -0400 Subject: [PATCH] Fix docs environment resolution for MTK 11 stack Drop AlgebraicPetri/Catlab from the docs project because AlgebraicPetri 0.8.x (pinned by ModelingToolkit 11) requires Catlab 0.14, which conflicts with the modern Optimization/SciMLBase dependency tree. Align remaining docs compat with the package bounds and exclude AlgebraicPetri-only doc pages from makedocs. Co-authored-by: Cursor --- docs/Project.toml | 12 ++++-------- docs/make.jl | 4 ---- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index ae4b1f9..c7b9f73 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,6 +1,4 @@ [deps] -AlgebraicPetri = "4f99eebe-17bf-4e98-b6a1-2c4f205a959b" -Catlab = "134e5e36-593f-5add-ad60-77f754baafbe" DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa" Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" @@ -18,18 +16,16 @@ SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462" UnPack = "3a884ed6-31ef-47d7-9d2a-63182c4928ed" [compat] -AlgebraicPetri = "0.8.2, 0.10" -Catlab = "0.14, 0.17" DifferentialEquations = "7, 8.0" Distributions = "0.25" Documenter = "1" EasyModelAnalysis = "0.1, 1" Ipopt = "1" -ModelingToolkit = "9, 11.26" +ModelingToolkit = "11.26" NLopt = "1.1" -Optimization = "3, 4, 5.6" -OptimizationMOI = "0.4, 0.5, 1.3" +Optimization = "5.6" +OptimizationMOI = "1.3" Plots = "1" SBMLToolkit = "0.1" -SciMLBase = "2.54, 3.1" +SciMLBase = "3.5" UnPack = "1" diff --git a/docs/make.jl b/docs/make.jl index b0fe82d..412111e 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -45,16 +45,12 @@ makedocs( "tutorials/ensemble_modeling.md", ], "Examples" => [ - "examples/petri.md", "examples/ASIR.md", "examples/SEIRHD.md", "examples/Carcione2020.md", ], "Scenarios" => [ - "scenarios/scenario1.md", "scenarios/scenario2.md", - "scenarios/scenario3.md", - "scenarios/scenario4.md", "scenarios/scenario5.md", ], "API" => [