File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ LinearAlgebra = "1"
26
26
Measurements = " 2"
27
27
ScientificTypes = " 3"
28
28
TestItems = " 0.1, 1"
29
- Tricks = " 0.1"
29
+ Tricks = " 0.1.9 "
30
30
Unitful = " 1"
31
31
julia = " 1.10"
32
32
Original file line number Diff line number Diff line change 1
- using Tricks: static_fieldnames
1
+ @static if VERSION <= v " 1.11.0-"
2
+ @eval using Tricks: static_fieldnames
3
+ else
4
+ @eval const static_fieldnames = fieldnames
5
+ end
2
6
3
7
const DEFAULT_DIM_BASE_TYPE = FixedRational{DEFAULT_NUMERATOR_TYPE,DEFAULT_DENOM}
4
8
const DEFAULT_VALUE_TYPE = Float64
Original file line number Diff line number Diff line change 1
1
using DynamicQuantities
2
2
using Aqua
3
3
4
- Aqua. test_all (DynamicQuantities; ambiguities= false )
4
+ Aqua. test_all (DynamicQuantities; ambiguities= false , stale_deps = VERSION < v " 1.11.0- " )
5
5
6
6
# Only test range of versions so we don't go insane with ambiguities
7
- @static if VERSION >= v " 1.10" && VERSION < v " 1.11"
7
+ @static if VERSION >= v " 1.10.0- " && VERSION < v " 1.11.0- "
8
8
Aqua. test_ambiguities (DynamicQuantities)
9
9
end
You can’t perform that action at this time.
0 commit comments