Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump MTK and SciMLBase #271

Merged
merged 8 commits into from
Oct 10, 2024
Merged

Bump MTK and SciMLBase #271

merged 8 commits into from
Oct 10, 2024

Conversation

jClugstor
Copy link
Member

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

Add any other context about the problem here.

@ChrisRackauckas
Copy link
Member

@AayushSabharwal can you check these conversions? I think something is going on with the parameter type promotion on MTKParameters when it's empty.

@AayushSabharwal
Copy link
Member

[email protected] reworked the part of MTKParameters that's causing problems here. It should be fixed after that version.

Project.toml Outdated Show resolved Hide resolved
@AayushSabharwal
Copy link
Member

That's a fun compat error

@AayushSabharwal
Copy link
Member

BlockArrays seems to be holding back Transducers, but I don't see a compat for the latter in the former's Project.toml

@ChrisRackauckas
Copy link
Member

@jClugstor what's the core issue here?

@jClugstor
Copy link
Member Author

Yeah, there's compat issues if I try to update MTK to any version greater or equal to 9.34:

(EasyModelAnalysis) pkg> update
    Updating registry at `~/.julia/registries/General.toml`
ERROR: Unsatisfiable requirements detected for package Transducers [28d57a85]:
 Transducers [28d57a85] log:
 ├─possible versions are: 0.1.0-0.4.82 or uninstalled
 ├─restricted by compatibility requirements with Setfield [efcf1570] to versions: [0.1.0, 0.4.74-0.4.82] or uninstalled
 │ └─Setfield [efcf1570] log:
 │   ├─possible versions are: 0.2.0-1.1.1 or uninstalled
 │   ├─restricted by compatibility requirements with ModelingToolkit [961ee093] to versions: 0.7.0-1.1.1
 │   │ └─ModelingToolkit [961ee093] log:
 │   │   ├─possible versions are: 0.0.1-9.42.0 or uninstalled
 │   │   └─restricted to versions 9.42.0-9 by EasyModelAnalysis [ef4b24a4], leaving only versions: 9.42.0
 │   │     └─EasyModelAnalysis [ef4b24a4] log:
 │   │       ├─possible versions are: 1.0.1 or uninstalled
 │   │       └─EasyModelAnalysis [ef4b24a4] is fixed to version 1.0.1
 │   └─restricted by compatibility requirements with BoundaryValueDiffEq [764a87c0] to versions: 1.0.0-1.1.1
 │     └─BoundaryValueDiffEq [764a87c0] log:
 │       ├─possible versions are: 2.0.0-5.10.0 or uninstalled
 │       ├─restricted by compatibility requirements with SciMLBase [0bca4576] to versions: [2.0.0-2.8.0, 5.0.0-5.10.0] or uninstalled
 │       │ └─SciMLBase [0bca4576] log:
 │       │   ├─possible versions are: 1.0.0-2.56.0 or uninstalled
 │       │   ├─restricted to versions 2.54.0-2 by EasyModelAnalysis [ef4b24a4], leaving only versions: 2.54.0-2.56.0
 │       │   │ └─EasyModelAnalysis [ef4b24a4] log: see above
 │       │   └─restricted by compatibility requirements with ModelingToolkit [961ee093] to versions: 2.55.0-2.56.0
 │       │     └─ModelingToolkit [961ee093] log: see above
 │       ├─restricted by compatibility requirements with Reexport [189a3867] to versions: 2.6.0-5.10.0 or uninstalled, leaving only versions: [2.6.0-2.8.0, 5.0.0-5.10.0] or uninstalled
 │       │ └─Reexport [189a3867] log:
 │       │   ├─possible versions are: 0.2.0-1.2.2 or uninstalled
 │       │   ├─restricted to versions 1 by EasyModelAnalysis [ef4b24a4], leaving only versions: 1.0.0-1.2.2
 │       │   │ └─EasyModelAnalysis [ef4b24a4] log: see above
 │       │   └─restricted by compatibility requirements with OptimizationBBO [3e6eede4] to versions: 1.2.0-1.2.2
 │       │     └─OptimizationBBO [3e6eede4] log:
 │       │       ├─possible versions are: 0.1.0-0.4.0 or uninstalled
 │       │       ├─restricted to versions 0.2-0.4 by EasyModelAnalysis [ef4b24a4], leaving only versions: 0.2.0-0.4.0
 │       │       │ └─EasyModelAnalysis [ef4b24a4] log: see above
 │       │       └─restricted by compatibility requirements with Optimization [7f7a1694] to versions: 0.1.0-0.3.0 or uninstalled, leaving only versions: 0.2.0-0.3.0
 │       │         └─Optimization [7f7a1694] log:
 │       │           ├─possible versions are: 3.5.0-4.0.3 or uninstalled
 │       │           ├─restricted to versions 3-4 by EasyModelAnalysis [ef4b24a4], leaving only versions: 3.5.0-4.0.3
 │       │           │ └─EasyModelAnalysis [ef4b24a4] log: see above
 │       │           ├─restricted by compatibility requirements with SciMLBase [0bca4576] to versions: 3.19.0-4.0.3 or uninstalled, leaving only versions: 3.19.0-4.0.3
 │       │           │ └─SciMLBase [0bca4576] log: see above
 │       │           ├─restricted by compatibility requirements with OptimizationBBO [3e6eede4] to versions: 3.21.0-4.0.3
 │       │           │ └─OptimizationBBO [3e6eede4] log: see above
 │       │           ├─restricted by compatibility requirements with Turing [fce5fe82] to versions: 3.5.0-3.28.0, leaving only versions: 3.21.0-3.28.0
 │       │           │ └─Turing [fce5fe82] log:
 │       │           │   ├─possible versions are: 0.5.0-0.34.1 or uninstalled
 │       │           │   └─restricted to versions 0.33-0.34 by EasyModelAnalysis [ef4b24a4], leaving only versions: 0.33.0-0.34.1
 │       │           │     └─EasyModelAnalysis [ef4b24a4] log: see above
 │       │           ├─restricted by compatibility requirements with ModelingToolkit [961ee093] to versions: [3.5.0-3.9.2, 3.9.4-3.19.3, 3.23.0-4.0.3] or uninstalled, leaving only versions: 3.23.0-3.28.0
 │       │           │ └─ModelingToolkit [961ee093] log: see above
 │       │           ├─restricted by compatibility requirements with Symbolics [0c5d862f] to versions: [3.5.0-3.15.2, 3.24.0-4.0.3] or uninstalled, leaving only versions: 3.24.0-3.28.0
 │       │           │ └─Symbolics [0c5d862f] log:
 │       │           │   ├─possible versions are: 0.1.0-6.13.1 or uninstalled
 │       │           │   ├─restricted by compatibility requirements with SciMLBase [0bca4576] to versions: 5.6.0-6.13.1 or uninstalled
 │       │           │   │ └─SciMLBase [0bca4576] log: see above
 │       │           │   └─restricted by compatibility requirements with ModelingToolkit [961ee093] to versions: 6.12.0-6.13.1
 │       │           │     └─ModelingToolkit [961ee093] log: see above
 │       │           └─restricted by compatibility requirements with ADTypes [47edcb42] to versions: [3.5.0-3.14.1, 3.25.1-4.0.3] or uninstalled, leaving only versions: 3.25.1-3.28.0
 │       │             └─ADTypes [47edcb42] log:
 │       │               ├─possible versions are: 0.1.0-1.9.0 or uninstalled
 │       │               ├─restricted by compatibility requirements with SciMLBase [0bca4576] to versions: 0.2.5-1.9.0
 │       │               │ └─SciMLBase [0bca4576] log: see above
 │       │               ├─restricted by compatibility requirements with BoundaryValueDiffEq [764a87c0] to versions: [0.2.0-0.2.7, 1.2.0-1.9.0], leaving only versions: [0.2.5-0.2.7, 1.2.0-1.9.0]
 │       │               │ └─BoundaryValueDiffEq [764a87c0] log: see above
 │       │               └─restricted by compatibility requirements with Symbolics [0c5d862f] to versions: 1.0.0-1.9.0, leaving only versions: 1.2.0-1.9.0
 │       │                 └─Symbolics [0c5d862f] log: see above
 │       ├─restricted by compatibility requirements with DifferentialEquations [0c46a032] to versions: [2.3.0-2.11.0, 4.0.0-5.10.0], leaving only versions: [2.6.0-2.8.0, 5.0.0-5.10.0]
 │       │ └─DifferentialEquations [0c46a032] log:
 │       │   ├─possible versions are: 5.0.0-7.14.0 or uninstalled
 │       │   ├─restricted to versions 7 by EasyModelAnalysis [ef4b24a4], leaving only versions: 7.0.0-7.14.0
 │       │   │ └─EasyModelAnalysis [ef4b24a4] log: see above
 │       │   ├─restricted by compatibility requirements with SciMLBase [0bca4576] to versions: [5.0.0-7.2.0, 7.10.0-7.14.0] or uninstalled, leaving only versions: [7.0.0-7.2.0, 7.10.0-7.14.0]
 │       │   │ └─SciMLBase [0bca4576] log: see above
 │       │   └─restricted by compatibility requirements with RecursiveArrayTools [731186ca] to versions: 7.12.0-7.14.0 or uninstalled, leaving only versions: 7.12.0-7.14.0
 │       │     └─RecursiveArrayTools [731186ca] log:
 │       │       ├─possible versions are: 0.16.0-3.27.0 or uninstalled
 │       │       └─restricted by compatibility requirements with SciMLBase [0bca4576] to versions: 3.26.0-3.27.0
 │       │         └─SciMLBase [0bca4576] log: see above
 │       ├─restricted by compatibility requirements with RecursiveArrayTools [731186ca] to versions: [2.0.0-4.0.1, 5.5.0-5.10.0] or uninstalled, leaving only versions: [2.6.0-2.8.0, 5.5.0-5.10.0]
 │       │ └─RecursiveArrayTools [731186ca] log: see above
 │       ├─restricted by compatibility requirements with DifferentialEquations [0c46a032] to versions: 5.0.0-5.10.0, leaving only versions: 5.5.0-5.10.0
 │       │ └─DifferentialEquations [0c46a032] log: see above
 │       ├─restricted by compatibility requirements with NonlinearSolve [8913a72c] to versions: [2.0.0-2.11.0, 5.6.0-5.10.0] or uninstalled, leaving only versions: 5.6.0-5.10.0
 │       │ └─NonlinearSolve [8913a72c] log:
 │       │   ├─possible versions are: 0.1.0-3.15.1 or uninstalled
 │       │   ├─restricted by compatibility requirements with SciMLBase [0bca4576] to versions: [0.1.0-0.3.4, 1.10.1-3.15.1] or uninstalled
 │       │   │ └─SciMLBase [0bca4576] log: see above
 │       │   ├─restricted by compatibility requirements with Reexport [189a3867] to versions: 0.3.4-3.15.1 or uninstalled, leaving only versions: [0.3.4, 1.10.1-3.15.1] or uninstalled
 │       │   │ └─Reexport [189a3867] log: see above
 │       │   └─restricted by compatibility requirements with ModelingToolkit [961ee093] to versions: 3.14.0-3.15.1
 │       │     └─ModelingToolkit [961ee093] log: see above
 │       └─restricted by compatibility requirements with ADTypes [47edcb42] to versions: [2.0.0-4.0.1, 5.8.0-5.10.0] or uninstalled, leaving only versions: 5.8.0-5.10.0
 │         └─ADTypes [47edcb42] log: see above
 ├─restricted by compatibility requirements with BangBang [198e06fe] to versions: [0.1.0-0.2.1, 0.4.81-0.4.82] or uninstalled, leaving only versions: [0.1.0, 0.4.81-0.4.82] or uninstalled
 │ └─BangBang [198e06fe] log:
 │   ├─possible versions are: 0.1.0-0.4.3 or uninstalled
 │   ├─restricted by compatibility requirements with Turing [fce5fe82] to versions: 0.4.0-0.4.3
 │   │ └─Turing [fce5fe82] log: see above
 │   └─restricted by compatibility requirements with DynamicPPL [366bfd00] to versions: 0.4.1-0.4.3
 │     └─DynamicPPL [366bfd00] log:
 │       ├─possible versions are: 0.1.0-0.29.2 or uninstalled
 │       ├─restricted by compatibility requirements with Distributions [31c24e10] to versions: 0.10.18-0.29.2 or uninstalled
 │       │ └─Distributions [31c24e10] log:
 │       │   ├─possible versions are: 0.16.0-0.25.112 or uninstalled
 │       │   ├─restricted to versions 0.25 by EasyModelAnalysis [ef4b24a4], leaving only versions: 0.25.0-0.25.112
 │       │   │ └─EasyModelAnalysis [ef4b24a4] log: see above
 │       │   ├─restricted by compatibility requirements with Bijectors [76274a88] to versions: 0.25.33-0.25.112
 │       │   │ └─Bijectors [76274a88] log:
 │       │   │   ├─possible versions are: 0.1.0-0.13.18 or uninstalled
 │       │   │   ├─restricted by compatibility requirements with Reexport [189a3867] to versions: 0.8.10-0.13.18 or uninstalled
 │       │   │   │ └─Reexport [189a3867] log: see above
 │       │   │   ├─restricted by compatibility requirements with Distributions [31c24e10] to versions: 0.9.2-0.13.18 or uninstalled
 │       │   │   │ └─Distributions [31c24e10] log: see above
 │       │   │   ├─restricted by compatibility requirements with Turing [fce5fe82] to versions: 0.13.6-0.13.18
 │       │   │   │ └─Turing [fce5fe82] log: see above
 │       │   │   └─restricted by compatibility requirements with DynamicPPL [366bfd00] to versions: 0.13.9-0.13.18
 │       │   │     └─DynamicPPL [366bfd00] log: see above
 │       │   ├─restricted by compatibility requirements with DistributionsAD [ced4e74d] to versions: 0.25.41-0.25.112
 │       │   │ └─DistributionsAD [ced4e74d] log:
 │       │   │   ├─possible versions are: 0.1.0-0.6.55 or uninstalled
 │       │   │   ├─restricted by compatibility requirements with Distributions [31c24e10] to versions: 0.6.26-0.6.55 or uninstalled
 │       │   │   │ └─Distributions [31c24e10] log: see above
 │       │   │   ├─restricted by compatibility requirements with Turing [fce5fe82] to versions: 0.6.0-0.6.55, leaving only versions: 0.6.26-0.6.55
 │       │   │   │ └─Turing [fce5fe82] log: see above
 │       │   │   ├─restricted by compatibility requirements with Compat [34da2185] to versions: [0.1.0-0.3.2, 0.6.40-0.6.55] or uninstalled, leaving only versions: 0.6.40-0.6.55
 │       │   │   │ └─Compat [34da2185] log:
 │       │   │   │   ├─possible versions are: 1.0.0-4.16.0 or uninstalled
 │       │   │   │   └─restricted by compatibility requirements with Turing [fce5fe82] to versions: 4.15.0-4.16.0
 │       │   │   │     └─Turing [fce5fe82] log: see above
 │       │   │   └─restricted by compatibility requirements with FillArrays [1a297f60] to versions: [0.1.0-0.3.2, 0.6.44-0.6.55] or uninstalled, leaving only versions: 0.6.44-0.6.55
 │       │   │     └─FillArrays [1a297f60] log:
 │       │   │       ├─possible versions are: 0.2.0-1.13.0 or uninstalled
 │       │   │       ├─restricted by compatibility requirements with Distributions [31c24e10] to versions: 0.9.0-1.13.0
 │       │   │       │ └─Distributions [31c24e10] log: see above
 │       │   │       ├─restricted by compatibility requirements with OrdinaryDiffEq [1dea7af3] to versions: 1.9.0-1.13.0
 │       │   │       │ └─OrdinaryDiffEq [1dea7af3] log:
 │       │   │       │   ├─possible versions are: 4.0.0-6.89.0 or uninstalled
 │       │   │       │   ├─restricted by compatibility requirements with SciMLBase [0bca4576] to versions: [4.0.0-6.6.6, 6.56.0-6.89.0] or uninstalled
 │       │   │       │   │ └─SciMLBase [0bca4576] log: see above
 │       │   │       │   ├─restricted by compatibility requirements with Reexport [189a3867] to versions: 5.47.0-6.89.0 or uninstalled, leaving only versions: [5.47.0-6.6.6, 6.56.0-6.89.0] or uninstalled
 │       │   │       │   │ └─Reexport [189a3867] log: see above
 │       │   │       │   ├─restricted by compatibility requirements with DifferentialEquations [0c46a032] to versions: 6.0.0-6.89.0, leaving only versions: [6.0.0-6.6.6, 6.56.0-6.89.0]
 │       │   │       │   │ └─DifferentialEquations [0c46a032] log: see above
 │       │   │       │   ├─restricted by compatibility requirements with RecursiveArrayTools [731186ca] to versions: 6.62.0-6.89.0 or uninstalled, leaving only versions: 6.62.0-6.89.0
 │       │   │       │   │ └─RecursiveArrayTools [731186ca] log: see above
 │       │   │       │   └─restricted by compatibility requirements with ADTypes [47edcb42] to versions: [4.0.0-6.51.2, 6.75.0-6.89.0] or uninstalled, leaving only versions: 6.75.0-6.89.0
 │       │   │       │     └─ADTypes [47edcb42] log: see above
 │       │   │       └─restricted by compatibility requirements with BlockArrays [8e7c35d0] to versions: 1.11.0-1.13.0
 │       │   │         └─BlockArrays [8e7c35d0] log:
 │       │   │           ├─possible versions are: 0.4.1-1.1.1 or uninstalled
 │       │   │           └─restricted by compatibility requirements with ModelingToolkit [961ee093] to versions: 1.1.0-1.1.1
 │       │   │             └─ModelingToolkit [961ee093] log: see above
 │       │   └─restricted by compatibility requirements with FillArrays [1a297f60] to versions: [0.16.0-0.21.9, 0.25.87-0.25.112] or uninstalled, leaving only versions: 0.25.87-0.25.112
 │       │     └─FillArrays [1a297f60] log: see above
 │       └─restricted by compatibility requirements with Turing [fce5fe82] to versions: 0.27.1-0.28.4
 │         └─Turing [fce5fe82] log: see above
 ├─restricted by compatibility requirements with BlockArrays [8e7c35d0] to versions: 0.1.0-0.4.80 or uninstalled, leaving only versions: 0.1.0 or uninstalled
 │ └─BlockArrays [8e7c35d0] log: see above
 └─restricted by compatibility requirements with AbstractMCMC [80f14c24] to versions: 0.4.30-0.4.82 — no versions left
   └─AbstractMCMC [80f14c24] log:
     ├─possible versions are: 0.1.0-5.4.0 or uninstalled
     └─restricted by compatibility requirements with Turing [fce5fe82] to versions: 5.2.0-5.4.0
       └─Turing [fce5fe82] log: see above

Transducers is restricted by BangBang to 0.4.81-0.4.82, but is restricted to less than 0.4.80 by BlockArrays

@jClugstor
Copy link
Member Author

But BlockArrays doesn't have Transducers in it's compat so it's deeper than that

@jClugstor
Copy link
Member Author

It's because transducers is holding back BlockArrays

@ChrisRackauckas
Copy link
Member

@MasonProtter is this known or fundamental? Or has it just not been bumped?

@ChrisRackauckas ChrisRackauckas merged commit 8ec43e5 into SciML:main Oct 10, 2024
4 of 6 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.

3 participants