Skip to content

Commit dff7568

Browse files
committed
add all the compat bounds
1 parent d0e496c commit dff7568

File tree

4 files changed

+124
-8
lines changed

4 files changed

+124
-8
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,42 @@ on:
33
schedule:
44
- cron: 0 0 * * *
55
workflow_dispatch:
6+
permissions:
7+
contents: write
8+
pull-requests: write
69
jobs:
710
CompatHelper:
811
runs-on: ubuntu-latest
912
steps:
10-
- name: Pkg.add("CompatHelper")
11-
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
12-
- name: CompatHelper.main()
13+
- name: Check if Julia is already available in the PATH
14+
id: julia_in_path
15+
run: which julia
16+
continue-on-error: true
17+
- name: Install Julia, but only if it is not already available in the PATH
18+
uses: julia-actions/setup-julia@v2
19+
with:
20+
version: '1'
21+
arch: ${{ runner.arch }}
22+
if: steps.julia_in_path.outcome != 'success'
23+
- name: "Add the General registry via Git"
24+
run: |
25+
import Pkg
26+
ENV["JULIA_PKG_SERVER"] = ""
27+
Pkg.Registry.add("General")
28+
shell: julia --color=yes {0}
29+
- name: "Install CompatHelper"
30+
run: |
31+
import Pkg
32+
name = "CompatHelper"
33+
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
34+
version = "3"
35+
Pkg.add(; name, uuid, version)
36+
shell: julia --color=yes {0}
37+
- name: "Run CompatHelper"
38+
run: |
39+
import CompatHelper
40+
CompatHelper.main(; subdirs=["", "docs", "test", "benchmark"])
41+
shell: julia --color=yes {0}
1342
env:
1443
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1544
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
16-
run: julia -e 'using CompatHelper; CompatHelper.main()'

benchmark/Project.toml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[deps]
22
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
33
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"
4-
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
54
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
65
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
76
Chairmarks = "0ca39b1e-fe0b-4e98-acfc-b1656634c4de"
@@ -22,3 +21,24 @@ UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"
2221

2322
[sources]
2423
NetworkDynamics = {path = ".."}
24+
25+
[compat]
26+
AbstractTrees = "0.4.5"
27+
ArgParse = "1.2.0"
28+
CairoMakie = "0.13.1"
29+
Chairmarks = "1.3.1"
30+
Makie = "0.22.1"
31+
OrderedCollections = "1.7.0"
32+
PkgBenchmark = "0.2.12"
33+
PrettyTables = "2.4.0"
34+
ProgressMeter = "1.10.2"
35+
StableRNGs = "1.0.2"
36+
ThreadPinning = "1.0.2"
37+
UnicodePlots = "3.7.2"
38+
# the ones below are bound by NetworkDynamics.jl
39+
CUDA = "≥0.0.1"
40+
Graphs = "≥0.0.1"
41+
SciMLBase = "≥0.0.1"
42+
StaticArrays = "≥0.0.1"
43+
StyledStrings = "≥0.0.1"
44+
TimerOutputs = "≥0.0.1"

docs/Project.toml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,42 @@ ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
1515
NetworkDynamics = "22e9dc34-2a0d-11e9-0de0-8588d035468b"
1616
OrdinaryDiffEqNonlinearSolve = "127b3ac7-2247-4354-8eb6-78cf4e7c58e8"
1717
OrdinaryDiffEqRosenbrock = "43230ef6-c299-4910-a778-202eb28ce4ce"
18-
OrdinaryDiffEqSDIRK = "2d112036-d095-4a1e-ab9a-08536f3ecdbf"
1918
OrdinaryDiffEqTsit5 = "b1df2697-797e-41e3-8120-5422d3b24e4a"
2019
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
2120
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
2221
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
23-
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
2422
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
2523
SimpleWeightedGraphs = "47aef6b3-ad0c-573a-a1e2-d07658019622"
2624
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
2725
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
28-
StochasticDiffEq = "789caeaf-c7a9-5a7d-9973-96adeb23e2a0"
2926
StyledStrings = "f489334b-da3d-4c2e-b8f0-e476e12c162b"
3027
SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5"
3128

3229
[sources]
3330
NetworkDynamics = {path = ".."}
31+
32+
[compat]
33+
CairoMakie = "0.13.1"
34+
DiffEqCallbacks = "4.2.2"
35+
Distributions = "0.25.117"
36+
Documenter = "1.8.0"
37+
DynamicQuantities = "1.4.0"
38+
GraphMakie = "0.5.13"
39+
LaTeXStrings = "1.4.0"
40+
LinearInterpolations = "0.1.4"
41+
Literate = "2.20.1"
42+
OrdinaryDiffEqNonlinearSolve = "1.3.0"
43+
OrdinaryDiffEqRosenbrock = "1.4.0"
44+
OrdinaryDiffEqTsit5 = "1.1.0"
45+
Plots = "1.40.9"
46+
SimpleWeightedGraphs = "1.4.0"
47+
StableRNGs = "1.0.2"
48+
# the ones below are bound by NetworkDynamics.jl
49+
Graphs = "≥0.0.1"
50+
ModelingToolkit = "≥0.0.1"
51+
Printf = "≥0.0.1"
52+
Random = "≥0.0.1"
53+
SciMLBase = "≥0.0.1"
54+
StaticArrays = "≥0.0.1"
55+
StyledStrings = "≥0.0.1"
56+
SymbolicIndexingInterface = "≥0.0.1"

test/Project.toml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,48 @@ TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"
4747

4848
[sources]
4949
NetworkDynamics = {path = ".."}
50+
51+
[compat]
52+
Aqua = "0.8.9"
53+
CairoMakie = "0.13.1"
54+
Chairmarks = "1.3.1"
55+
DelimitedFiles = "1.9.1"
56+
DiffEqCallbacks = "4.1.0"
57+
DifferentiationInterface = "0.6.32"
58+
DifferentiationInterfaceTest = "0.9"
59+
DynamicQuantities = "1.4.0"
60+
ExplicitImports = "1.10.1"
61+
FiniteDiff = "2.26.2"
62+
GraphMakie = "0.5.13"
63+
LinearInterpolations = "0.1.4"
64+
Logging = "1"
65+
OrderedCollections = "1.7.0"
66+
OrdinaryDiffEqNonlinearSolve = "1.3.0"
67+
OrdinaryDiffEqRosenbrock = "1.4.0"
68+
OrdinaryDiffEqSDIRK = "1.2.0"
69+
OrdinaryDiffEqTsit5 = "1.1.0"
70+
Pkg = "1"
71+
Plots = "1.40.9"
72+
SafeTestsets = "0.1.0"
73+
SimpleWeightedGraphs = "1.4.0"
74+
StableRNGs = "1.0.2"
75+
Test = "1"
76+
# the ones below are bound by NetworkDynamics.jl
77+
Adapt = "≥0.0.1"
78+
CUDA = "≥0.0.1"
79+
ForwardDiff = "≥0.0.1"
80+
Graphs = "≥0.0.1"
81+
InteractiveUtils = "≥0.0.1"
82+
KernelAbstractions = "≥0.0.1"
83+
LinearAlgebra = "≥0.0.1"
84+
ModelingToolkit = "≥0.0.1"
85+
Printf = "≥0.0.1"
86+
Random = "≥0.0.1"
87+
SciMLBase = "≥0.0.1"
88+
SparseArrays = "≥0.0.1"
89+
Static = "≥0.0.1"
90+
StaticArrays = "≥0.0.1"
91+
SteadyStateDiffEq = "≥0.0.1"
92+
SymbolicIndexingInterface = "≥0.0.1"
93+
Symbolics = "≥0.0.1"
94+
TimerOutputs = "≥0.0.1"

0 commit comments

Comments
 (0)