SciML / EasyModelAnalysis.jl

High level functions for analyzing the output of simulations
MIT License
81 stars 14 forks source link

Version conflict with latest MTK (9.19.0). #257

Open wangyunyueyueniao opened 5 months ago

wangyunyueyueniao commented 5 months ago

There is a version conflict with latest MTK (9.19.0). julia version 1.10.4

how to reporduce:

  1. create a new project
  2. add ModelingToolkit
  3. pin ModelingToolkit
  4. add EasyModelAnalysis
(@v1.10) pkg> add EasyModelAnalysis
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Turing [fce5fe82]:
 Turing [fce5fe82] log:
 ├─possible versions are: 0.5.0-0.33.0 or uninstalled
 ├─restricted by compatibility requirements with EasyModelAnalysis [ef4b24a4] to versions: [0.22.0-0.24.4, 0.30.0-0.30.9]
 │ └─EasyModelAnalysis [ef4b24a4] log:
 │   ├─possible versions are: 0.0.1-1.0.0 or uninstalled
 │   ├─restricted to versions * by an explicit requirement, leaving only versions: 0.0.1-1.0.0
 │   └─restricted by compatibility requirements with ModelingToolkit [961ee093] to versions: 1.0.0 or uninstalled, leaving only versions: 1.0.0
 │     └─ModelingToolkit [961ee093] log:
 │       ├─possible versions are: 0.0.1-9.19.0 or uninstalled
 │       └─restricted to versions 9.19.0 by an explicit requirement, leaving only versions: 9.19.0
 ├─restricted by compatibility requirements with SciMLBase [0bca4576] to versions: [0.5.0-0.18.0, 0.29.2-0.33.0] or uninstalled, leaving only versions: 0.30.0-0.30.9
 │ └─SciMLBase [0bca4576] log:
 │   ├─possible versions are: 1.0.0-2.41.3 or uninstalled
 │   ├─restricted by compatibility requirements with ModelingToolkit [961ee093] to versions: 2.28.0-2.41.3
 │   │ └─ModelingToolkit [961ee093] log: see above
 │   └─restricted by compatibility requirements with ADTypes [47edcb42] to versions: [1.0.0-1.92.0, 2.34.0-2.41.3] or uninstalled, leaving only versions: 2.34.0-2.41.3
 │     └─ADTypes [47edcb42] log:
 │       ├─possible versions are: 0.1.0-1.3.0 or uninstalled
 │       ├─restricted by compatibility requirements with SciMLBase [0bca4576] to versions: 0.2.5-1.3.0
 │       │ └─SciMLBase [0bca4576] log: see above
 │       └─restricted by compatibility requirements with Symbolics [0c5d862f] to versions: 1.0.0-1.3.0
 │         └─Symbolics [0c5d862f] log:
 │           ├─possible versions are: 0.1.0-5.30.3 or uninstalled
 │           └─restricted by compatibility requirements with ModelingToolkit [961ee093] to versions: 5.30.1-5.30.3
 │             └─ModelingToolkit [961ee093] log: see above
 └─restricted by compatibility requirements with ADTypes [47edcb42] to versions: [0.5.0-0.29.3, 0.31.3-0.33.0] or uninstalled — no versions left
   └─ADTypes [47edcb42] log: see above
ChrisRackauckas commented 5 months ago

@jClugstor this is due to the Turing version. Can you make sure that gets updated to Turing latest?

jClugstor commented 5 months ago

https://github.com/SciML/EasyModelAnalysis.jl/pull/259 This should fix it. Only problem seems to be codecov, tests all pass locally.