Skip to content

Commit 15298d4

Browse files
CompatHelper: bump compat for Functors to 0.5, (keep existing compat) (#1568)
1 parent 89adeb2 commit 15298d4

File tree

5 files changed

+19
-13
lines changed

5 files changed

+19
-13
lines changed

NDTensors/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Dictionaries = "0.4"
6767
EllipsisNotation = "1.8"
6868
FillArrays = "1"
6969
Folds = "0.2.8"
70-
Functors = "0.2, 0.3, 0.4"
70+
Functors = "0.2, 0.3, 0.4, 0.5"
7171
GPUArraysCore = "0.1, 0.2"
7272
HDF5 = "0.14, 0.15, 0.16, 0.17"
7373
HalfIntegers = "1"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[deps]
2+
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
3+
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
4+
NDTensors = "23ae76d9-e61a-49c4-8f12-3f1a16adf9cf"
5+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

NDTensors/src/lib/UnallocatedArrays/test/runtests.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
@eval module $(gensym())
22
using FillArrays: FillArrays, AbstractFill, Fill, Zeros
33
using NDTensors: NDTensors
4-
using NDTensors.UnallocatedArrays
4+
using NDTensors.UnallocatedArrays:
5+
UnallocatedFill, UnallocatedZeros, allocate, alloctype, set_alloctype
56
using LinearAlgebra: norm
6-
using Test: @test, @testset, @test_broken
7+
using Test: @test, @test_broken, @testset
78

89
include(joinpath(pkgdir(NDTensors), "test", "NDTensorsTestUtils", "NDTensorsTestUtils.jl"))
910
using .NDTensorsTestUtils: devices_list
@@ -247,7 +248,7 @@ end
247248
end
248249

249250
using FillArrays: Fill, Zeros
250-
using NDTensors.UnallocatedArrays
251+
using NDTensors.UnallocatedArrays: UnallocatedFill, UnallocatedZeros
251252
using NDTensors.TypeParameterAccessors:
252253
Position, default_type_parameter, nparameters, set_type_parameter, type_parameter
253254
using Test: @test, @testset

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ITensors"
22
uuid = "9136182c-28ba-11e9-034c-db9fb085ebd5"
33
authors = ["Matthew Fishman <[email protected]>", "Miles Stoudenmire <[email protected]>"]
4-
version = "0.7.3"
4+
version = "0.7.4"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
@@ -43,7 +43,7 @@ ChainRulesCore = "1.10"
4343
Compat = "2.1, 3, 4"
4444
Dictionaries = "0.4"
4545
DocStringExtensions = "0.9.3"
46-
Functors = "0.2, 0.3, 0.4"
46+
Functors = "0.2, 0.3, 0.4, 0.5"
4747
HDF5 = "0.14, 0.15, 0.16, 0.17"
4848
IsApprox = "0.1, 1, 2"
4949
LinearAlgebra = "1.6"

jenkins/Jenkinsfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pipeline {
2727
}
2828
steps {
2929
sh '''
30-
julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cuda"])'
30+
julia -e 'using Pkg: Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cuda"])'
3131
'''
3232
}
3333
}
@@ -51,7 +51,7 @@ pipeline {
5151
}
5252
steps {
5353
sh '''
54-
julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cuda"])'
54+
julia -e 'using Pkg: Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cuda"])'
5555
'''
5656
}
5757
}
@@ -75,7 +75,7 @@ pipeline {
7575
}
7676
steps {
7777
sh '''
78-
julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cutensor"])'
78+
julia -e 'using Pkg: Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cutensor"])'
7979
'''
8080
}
8181
}
@@ -99,7 +99,7 @@ pipeline {
9999
}
100100
steps {
101101
sh '''
102-
julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cutensor"])'
102+
julia -e 'using Pkg: Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cutensor"])'
103103
'''
104104
}
105105
}
@@ -120,7 +120,7 @@ pipeline {
120120
juliaup default lts
121121
'''
122122
sh '''
123-
julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["metal"])'
123+
julia -e 'using Pkg: Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["metal"])'
124124
'''
125125
}
126126
}
@@ -141,11 +141,11 @@ pipeline {
141141
juliaup default release
142142
'''
143143
sh '''
144-
julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["metal"])'
144+
julia -e 'using Pkg: Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["metal"])'
145145
'''
146146
}
147147
}
148148
}
149149
}
150150
}
151-
}
151+
}

0 commit comments

Comments
 (0)