From 008daac0b9ff605ef128c14b986ea45e9e871f55 Mon Sep 17 00:00:00 2001 From: Claude Code Date: Tue, 30 Dec 2025 07:13:51 -0500 Subject: [PATCH] Fix minimum version bound for ModelingToolkit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The minimum version for ModelingToolkit was set to 10.0.0, but this package requires at least 10.10.0. In earlier v10.x versions, ODESystem was either not exported (v10.0.0-10.2.x) or was a function alias rather than a proper Type (v10.3.0-10.9.x), which breaks the type annotations used in this package (e.g., `sys::ODESystem`). The issue was discovered by testing the package with minimum versions of dependencies: - v10.0.0-10.2.x: ODESystem not exported at all - v10.3.0-10.9.x: ODESystem exported as a function, not a Type, causing "invalid type for argument sys" errors - v10.10.0+: ODESystem is a proper Type (IntermediateDeprecationSystem) that can be used as a type annotation Verified that all tests pass with ModelingToolkit v10.10.0. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- Project.toml | 2 +- test/Project.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 290d744..2aec45a 100644 --- a/Project.toml +++ b/Project.toml @@ -15,7 +15,7 @@ TSVD = "9449cd9e-2762-5aa3-a617-5413e99d722e" [compat] DocStringExtensions = "0.8, 0.9" LinearAlgebra = "1" -ModelingToolkit = "10" +ModelingToolkit = "10.10" RandomizedLinAlg = "0.1" Setfield = "0.8, 1" SparseArrays = "1" diff --git a/test/Project.toml b/test/Project.toml index 5e29555..3c0e073 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -10,5 +10,5 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Aqua = "0.8" OrdinaryDiffEq = "6" MethodOfLines = "0.11" -ModelingToolkit = "10" +ModelingToolkit = "10.10" SafeTestsets = "0.1"