Skip to content

Tests blocked by MethodOfLines incompatibility with ModelingToolkit 11 #1008

@ChrisRackauckas-Claude

Description

@ChrisRackauckas-Claude

Summary

PR #1004 attempts to update dependencies to:

  • ModelingToolkit 11.x
  • Symbolics 7.x
  • SymbolicUtils 4.x

However, tests cannot run with these new versions because MethodOfLines (a test dependency) only supports ModelingToolkit 10.x.

Details

When Pkg.test() runs, the package resolver is forced to downgrade:

  • ModelingToolkit 11.x → 10.31.2
  • Symbolics 7.x → 6.58.0
  • SymbolicUtils 4.x → 3.32.0

This happens because MethodOfLines 0.11.9 has compat:

ModelingToolkit = "10.1.0-10"

What Works

NeuralPDE does load and work correctly with the new dependency versions when tested without MethodOfLines:

using NeuralPDE
using ModelingToolkit  # v11.5.1
using Symbolics        # v7.5.0
using SymbolicUtils    # v4.10.1
# All packages load successfully

Affected Tests

Only the DGM tests use MethodOfLines:

  • test/dgm_tests.jl

Solutions

  1. Wait for MethodOfLines update: MethodOfLines needs to release a version compatible with MTK 11
  2. Conditional test skipping: Modify tests to skip DGM tests when MTK 11+ is installed
  3. Remove MethodOfLines from test dependencies: If DGM tests can be restructured

Additional Issue

There's also a precompilation error with LuxCore's FluxExt extension (@layer macro issue), but this appears to be a pre-existing issue unrelated to this dependency update.

Related PR

cc @ChrisRackauckas

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions