From cb49bb1a378c4392cd2eaebaebef46112c276a6a Mon Sep 17 00:00:00 2001 From: CompatHelper Julia Date: Fri, 7 Mar 2025 01:53:58 +0000 Subject: [PATCH 1/3] CompatHelper: bump compat for SparseArraysBase to 0.4 for package test, (keep existing compat) --- test/Project.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/Project.toml b/test/Project.toml index 817fd103..2905e551 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -32,14 +32,14 @@ GPUArraysCore = "0.2" GradedUnitRanges = "0.1" JLArrays = "0.2" LabelledNumbers = "0.1" +LinearAlgebra = "1" +Pkg = "1" +Random = "1" SafeTestsets = "0.1" -SparseArraysBase = "0.3" +SparseArraysBase = "0.3, 0.4" Suppressor = "0.2" SymmetrySectors = "0.1" TensorAlgebra = "0.2" +Test = "1" TestExtras = "0.3" TypeParameterAccessors = "0.3" -LinearAlgebra = "1" -Pkg = "1" -Random = "1" -Test = "1" From d9d6347268610b714b90ab001b23521728e549b0 Mon Sep 17 00:00:00 2001 From: mtfishman Date: Fri, 7 Mar 2025 10:21:42 -0500 Subject: [PATCH 2/3] Stricter compat --- Project.toml | 4 ++-- test/Project.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index a550e68e..bde6c7a7 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "BlockSparseArrays" uuid = "2c9a651f-6452-4ace-a6ac-809f4280fbb4" authors = ["ITensor developers and contributors"] -version = "0.3.1" +version = "0.3.2" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" @@ -43,7 +43,7 @@ LabelledNumbers = "0.1.0" LinearAlgebra = "1.10" MacroTools = "0.5.13" MapBroadcast = "0.1.5" -SparseArraysBase = "0.3.2" +SparseArraysBase = "0.4" SplitApplyCombine = "1.2.3" TensorAlgebra = "0.1.0, 0.2" Test = "1.10" diff --git a/test/Project.toml b/test/Project.toml index 2905e551..69bc9612 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -36,7 +36,7 @@ LinearAlgebra = "1" Pkg = "1" Random = "1" SafeTestsets = "0.1" -SparseArraysBase = "0.3, 0.4" +SparseArraysBase = "0.4" Suppressor = "0.2" SymmetrySectors = "0.1" TensorAlgebra = "0.2" From 204961ec3df59e8900331a8b613ecafe300143e4 Mon Sep 17 00:00:00 2001 From: mtfishman Date: Fri, 7 Mar 2025 15:59:49 -0500 Subject: [PATCH 3/3] Update for breaking changes --- src/blocksparsearray/blocksparsearray.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blocksparsearray/blocksparsearray.jl b/src/blocksparsearray/blocksparsearray.jl index 9d7e570e..ea762ea1 100644 --- a/src/blocksparsearray/blocksparsearray.jl +++ b/src/blocksparsearray/blocksparsearray.jl @@ -24,7 +24,7 @@ and should be imported from that package to use it as an input to this construct function SparseArraysBase.SparseArrayDOK{T,N}( ::UndefBlocksInitializer, ax::Tuple{Vararg{AbstractUnitRange{<:Integer},N}} ) where {T,N} - return SparseArrayDOK{T,N}(undef, blocklength.(ax), GetUnstoredBlock(ax)) + return SparseArrayDOK{T,N}(undef, blocklength.(ax); getunstored=GetUnstoredBlock(ax)) end function SparseArraysBase.SparseArrayDOK{T,N}( ::UndefBlocksInitializer, ax::Vararg{AbstractUnitRange{<:Integer},N}