Skip to content

Commit acc1747

Browse files
committed
Add downgrade workflow, fix lower bounds
This commit adds the downgrade github action and cleans up some incorrect lower bounds.
1 parent 1e7530e commit acc1747

File tree

4 files changed

+60
-33
lines changed

4 files changed

+60
-33
lines changed

.buildkite/Manifest.toml

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# This file is machine-generated - editing it directly is not advised
22

3-
julia_version = "1.10.6"
3+
julia_version = "1.10.5"
44
manifest_format = "2.0"
5-
project_hash = "fd1e670d65913da2cbb0367d634efd6165bc7d16"
5+
project_hash = "58c4b495a198942d7fe1f15910bfa6451b6fdb53"
66

77
[[deps.ADTypes]]
88
git-tree-sha1 = "eea5d80188827b35333801ef97a40c2ed653b081"
@@ -309,7 +309,7 @@ weakdeps = ["CUDA", "MPI"]
309309
ClimaCommsMPIExt = "MPI"
310310

311311
[[deps.ClimaCore]]
312-
deps = ["Adapt", "BandedMatrices", "BlockArrays", "ClimaComms", "CubedSphere", "DataStructures", "DocStringExtensions", "ForwardDiff", "GaussQuadrature", "GilbertCurves", "HDF5", "InteractiveUtils", "IntervalSets", "KrylovKit", "LinearAlgebra", "MultiBroadcastFusion", "NVTX", "PkgVersion", "RecursiveArrayTools", "RootSolvers", "SparseArrays", "StaticArrays", "Statistics", "Unrolled"]
312+
deps = ["Adapt", "BandedMatrices", "BlockArrays", "ClimaComms", "CubedSphere", "DataStructures", "ForwardDiff", "GaussQuadrature", "GilbertCurves", "HDF5", "InteractiveUtils", "IntervalSets", "KrylovKit", "LinearAlgebra", "MultiBroadcastFusion", "NVTX", "PkgVersion", "RecursiveArrayTools", "RootSolvers", "SparseArrays", "StaticArrays", "Statistics", "Unrolled"]
313313
path = ".."
314314
uuid = "d414da3d-4745-48bb-8d80-42e94e092884"
315315
version = "0.14.19"
@@ -393,11 +393,6 @@ git-tree-sha1 = "362a287c3aa50601b0bc359053d5c2468f0e7ce0"
393393
uuid = "5ae59095-9a9b-59fe-a467-6f913c188581"
394394
version = "0.12.11"
395395

396-
[[deps.Combinatorics]]
397-
git-tree-sha1 = "08c8b6831dc00bfea825826be0bc8336fc369860"
398-
uuid = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
399-
version = "1.0.2"
400-
401396
[[deps.CommonDataModel]]
402397
deps = ["CFTime", "DataStructures", "Dates", "Preferences", "Printf", "Statistics"]
403398
git-tree-sha1 = "d6fb5bf939a2753c74984b11434ea25d6c397a58"

.github/workflows/downgrade.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Downgrade
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- main
7+
tags: '*'
8+
9+
# Needed to allow julia-actions/cache to delete old caches that it has created
10+
permissions:
11+
actions: write
12+
contents: read
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
test:
20+
runs-on: ubuntu-latest
21+
strategy:
22+
matrix:
23+
version: ['1.10', '1.11']
24+
steps:
25+
- uses: actions/checkout@v4
26+
- uses: julia-actions/setup-julia@latest
27+
with:
28+
version: ${{ matrix.version }}
29+
- uses: julia-actions/cache@v2
30+
- uses: julia-actions/julia-downgrade-compat@v1
31+
with:
32+
skip: Dates, InteractiveUtils, LinearAlgebra, Logging, Random, Test, SparseArrays, Statistics
33+
- uses: julia-actions/julia-buildpkg@latest
34+
- uses: julia-actions/julia-runtest@latest

NEWS.md

+7
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ main
1919
- We've refactored some modules to use less internals. PR [#2053](https://github.com/CliMA/ClimaCore.jl/pull/2053), PR [#2052](https://github.com/CliMA/ClimaCore.jl/pull/2052), [#2051](https://github.com/CliMA/ClimaCore.jl/pull/2051), [#2049](https://github.com/CliMA/ClimaCore.jl/pull/2049).
2020
- Some work was done in attempt to reduce specializations and compile time. PR [#2042](https://github.com/CliMA/ClimaCore.jl/pull/2042), [#2041](https://github.com/CliMA/ClimaCore.jl/pull/2041)
2121

22+
### ![][badge-🐛bugfix] Fix lower compat bounds
23+
24+
`ClimaCore` was falsely with certain versions of packages, while that was not
25+
really true. PR [#2078](https://github.com/CliMA/ClimaCore.jl/pull/2078) fixes
26+
the lower bounds and adds a GitHub Action workflow to test it. `ClimaCore` now
27+
requires Julia 1.10 or greater.
28+
2229
v0.14.19
2330
-------
2431

Project.toml

+16-25
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ BlockArrays = "8e7c35d0-a365-5155-bbbb-fb81a777f24e"
1010
ClimaComms = "3a4d1b5c-c61d-41fd-a00a-5873ba7a1b0d"
1111
CubedSphere = "7445602f-e544-4518-8976-18f8e8ae6cdb"
1212
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
13-
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
1413
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
1514
GaussQuadrature = "d54b0c1a-921d-58e0-8e36-89d8069c0969"
1615
GilbertCurves = "88fa7841-ef32-4516-bb70-c6ec135699d9"
@@ -42,64 +41,57 @@ Adapt = "3, 4"
4241
Aqua = "0.8"
4342
ArgParse = "1"
4443
AssociatedLegendrePolynomials = "1"
45-
BandedMatrices = "0.17, 1"
44+
BandedMatrices = "1"
4645
BenchmarkTools = "1"
47-
BlockArrays = "0.16, 1"
48-
ClimaComms = "0.6"
49-
Combinatorics = "1"
46+
BlockArrays = "1"
47+
ClimaComms = "0.6.2"
5048
CountFlops = "0.1"
5149
CubedSphere = "0.2, 0.3"
52-
CUDA = "5"
50+
CUDA = "5.5"
5351
Dates = "1"
54-
DataStructures = "0.18"
55-
DocStringExtensions = "0.8, 0.9"
56-
FastBroadcast = "0.3"
57-
ForwardDiff = "0.10"
58-
GaussQuadrature = "0.5"
52+
DataStructures = "0.18.13"
53+
FastBroadcast = "0.3.1"
54+
ForwardDiff = "0.10.15"
55+
GaussQuadrature = "0.5.8"
5956
GilbertCurves = "0.1"
60-
HDF5 = "0.16, 0.17"
57+
HDF5 = "0.16.16, 0.17"
6158
InteractiveUtils = "1"
6259
IntervalSets = "0.5, 0.6, 0.7"
6360
JET = "0.9"
6461
Krylov = "0.9"
6562
KrylovKit = "0.6, 0.7, 0.8"
6663
LinearAlgebra = "1"
67-
LazyBroadcast = "0.1"
64+
LazyBroadcast = "0.1.4"
6865
Logging = "1"
69-
MPI = "0.20"
70-
MultiBroadcastFusion = "0.3, 0.4"
66+
MultiBroadcastFusion = "0.3.1, 0.4"
7167
NVTX = "0.3"
72-
OrderedCollections = "1"
7368
PkgVersion = "0.1, 0.2, 0.3"
7469
PrettyTables = "2"
7570
Random = "1"
76-
RecursiveArrayTools = "2, 3"
71+
RecursiveArrayTools = "3.1"
7772
RootSolvers = "0.3, 0.4"
7873
SafeTestsets = "0.1"
7974
SparseArrays = "1"
80-
StaticArrays = "1"
75+
StaticArrays = "1.6"
8176
Statistics = "1"
8277
StatsBase = "0.34"
8378
TerminalLoggers = "0.1"
8479
Test = "1"
85-
Unrolled = "0.1"
86-
julia = "1.9"
80+
Unrolled = "0.1.5"
81+
julia = "1.10"
8782

8883
[extras]
8984
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
9085
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"
9186
AssociatedLegendrePolynomials = "2119f1ac-fb78-50f5-8cc0-dda848ebdb19"
9287
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
93-
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
9488
CountFlops = "1db9610d-79e1-487a-8d40-77f3295c7593"
9589
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
9690
FastBroadcast = "7034ab61-46d4-4ed7-9d0f-46aef9175898"
9791
Krylov = "ba0b0d4f-ebba-5204-a429-3ac8c609bfb7"
9892
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
9993
LazyBroadcast = "9dccce8e-a116-406d-9fcc-a88ed4f510c8"
10094
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
101-
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195"
102-
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
10395
PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
10496
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
10597
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
@@ -108,5 +100,4 @@ TerminalLoggers = "5d786b92-1e48-4d6f-9151-6b4477ca9bed"
108100
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
109101

110102
[targets]
111-
test = ["Aqua", "ArgParse", "AssociatedLegendrePolynomials", "BenchmarkTools", "Combinatorics", "CountFlops", "Dates", "FastBroadcast", "Krylov", "JET", "LazyBroadcast", "Logging", "MPI", "OrderedCollections", "PrettyTables", "Random", "SafeTestsets", "StatsBase", "TerminalLoggers", "Test"]
112-
103+
test = ["Aqua", "ArgParse", "AssociatedLegendrePolynomials", "BenchmarkTools", "CountFlops", "Dates", "FastBroadcast", "Krylov", "JET", "LazyBroadcast", "Logging", "PrettyTables", "Random", "SafeTestsets", "StatsBase", "TerminalLoggers", "Test"]

0 commit comments

Comments
 (0)