Skip to content

Conversation

@ChrisRackauckas-Claude
Copy link

Summary

  • Removed ModelingToolkit v8 from compat bounds since the codebase uses v9-only features

Details

The main Project.toml had ModelingToolkit = "8, 9" in the compat section, but the lecture files use features that are only available in ModelingToolkit v9+:

  • t_nounits and D_nounits - These were introduced in v9 as part of the units refactoring

Affected files that use v9-specific features:

  • docs/src/lectures/lecture1.jl
  • docs/src/lectures/lecture2.jl
  • docs/src/lectures/run_away_train_hydraulic.jl

Note: The docs/Project.toml already correctly specifies ModelingToolkit = "9".

Test Plan

  • Verified lecture files use t_nounits and D_nounits
  • Confirmed these features were introduced in v9 per ModelingToolkit NEWS.md
  • CI should pass with the updated bounds

cc @ChrisRackauckas

🤖 Generated with Claude Code

Remove ModelingToolkit v8 from compat since the codebase uses v9-only
features:
- `t_nounits` and `D_nounits` (introduced in v9)

These are used in lecture1.jl, lecture2.jl, and run_away_train_hydraulic.jl.
The docs/Project.toml already correctly requires v9 only.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas merged commit 5a0d0de into SciML:main Dec 29, 2025
1 of 2 checks passed
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