From 3143849db5be29099a4a3fb36ac39bbb20ca1214 Mon Sep 17 00:00:00 2001 From: Matthew Fishman Date: Tue, 30 Jun 2026 14:57:57 -0400 Subject: [PATCH 1/4] Support TensorAlgebra 0.14 Raises the compat bounds so ITensorNetworksNext builds against the TensorAlgebra 0.14 release train (https://github.com/ITensor/TensorAlgebra.jl/pull/194): `TensorAlgebra` to 0.14, `ITensorBase` to 0.9.2, and `GradedArrays` to 0.13.2 in the tests. The fixes for the new `StridedView`-based permute path all live in those dependencies, so this is a compat-only bump. --- Project.toml | 22 +++++++++++++++++++--- test/Project.toml | 6 +++--- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/Project.toml b/Project.toml index 9862e3f..be61852 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "ITensorNetworksNext" uuid = "302f2e75-49f0-4526-aef7-d8ba550cb06c" -version = "0.9.0" +version = "0.9.1" authors = ["ITensor developers and contributors"] [workspace] @@ -23,6 +23,22 @@ SimpleTraits = "699a6c99-e7fa-54fc-8d76-47d257e15c1d" SplitApplyCombine = "03a91e81-4c3e-53e1-a0a4-9c0c8f19dd66" TensorAlgebra = "68bd88dc-f39d-4e12-b2ca-f046b68fcc6a" +[sources.GradedArrays] +rev = "mf/scalar-unmatricize-graded" +url = "https://github.com/ITensor/GradedArrays.jl" + +[sources.ITensorBase] +rev = "mf/drop-blockarrays-ext" +url = "https://github.com/ITensor/ITensorBase.jl" + +[sources.SparseArraysBase] +rev = "mf/tensoralgebra-0.14" +url = "https://github.com/ITensor/SparseArraysBase.jl" + +[sources.TensorAlgebra] +rev = "mf/inline-strided-permute" +url = "https://github.com/ITensor/TensorAlgebra.jl" + [compat] Adapt = "4.3" AlgorithmsInterface = "0.1" @@ -30,7 +46,7 @@ Combinatorics = "1" DataGraphs = "0.5" Dictionaries = "0.4.5" Graphs = "1.13.1" -ITensorBase = "0.9" +ITensorBase = "0.9.2" LinearAlgebra = "1.10" MacroTools = "0.5.16" MatrixAlgebraKit = "0.6" @@ -38,5 +54,5 @@ NamedGraphs = "0.11, 0.12" Random = "1.10" SimpleTraits = "0.9.5" SplitApplyCombine = "1.2.3" -TensorAlgebra = "0.11, 0.12, 0.13" +TensorAlgebra = "0.14" julia = "1.10" diff --git a/test/Project.toml b/test/Project.toml index 4e8ceb6..fca2487 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -28,9 +28,9 @@ AlgorithmsInterface = "0.1" Aqua = "0.8.14" DataGraphs = "0.5" Dictionaries = "0.4.5" -GradedArrays = "0.10, 0.11, 0.12, 0.13" +GradedArrays = "0.13.2" Graphs = "1.13.1" -ITensorBase = "0.9" +ITensorBase = "0.9.2" ITensorNetworksNext = "0.9" ITensorPkgSkeleton = "0.3.42" MatrixAlgebraKit = "0.6" @@ -40,6 +40,6 @@ Random = "1.10" SafeTestsets = "0.1" StableRNGs = "1" Suppressor = "0.2.8" -TensorAlgebra = "0.11, 0.12, 0.13" +TensorAlgebra = "0.14" TensorOperations = "5.3.1" Test = "1.10" From e0f012a0820c5836bb47cacc458eba0464a006b3 Mon Sep 17 00:00:00 2001 From: Matthew Fishman Date: Tue, 30 Jun 2026 15:36:48 -0400 Subject: [PATCH 2/4] Place the GradedArrays and SparseArraysBase source pins in the test project Move the `GradedArrays` and `SparseArraysBase` source pins to `test/Project.toml` and add `SparseArraysBase` as an explicit test dependency. Neither can carry a `[sources]` entry in the root `Project.toml`, since a source must reference a package in `[deps]` or `[extras]`, and `GradedArrays` is test-only while `SparseArraysBase` is only a transitive dependency. The `TensorAlgebra` and `ITensorBase` pins stay in the root where they are direct dependencies. --- Project.toml | 8 -------- test/Project.toml | 10 ++++++++++ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Project.toml b/Project.toml index be61852..9859d7a 100644 --- a/Project.toml +++ b/Project.toml @@ -23,18 +23,10 @@ SimpleTraits = "699a6c99-e7fa-54fc-8d76-47d257e15c1d" SplitApplyCombine = "03a91e81-4c3e-53e1-a0a4-9c0c8f19dd66" TensorAlgebra = "68bd88dc-f39d-4e12-b2ca-f046b68fcc6a" -[sources.GradedArrays] -rev = "mf/scalar-unmatricize-graded" -url = "https://github.com/ITensor/GradedArrays.jl" - [sources.ITensorBase] rev = "mf/drop-blockarrays-ext" url = "https://github.com/ITensor/ITensorBase.jl" -[sources.SparseArraysBase] -rev = "mf/tensoralgebra-0.14" -url = "https://github.com/ITensor/SparseArraysBase.jl" - [sources.TensorAlgebra] rev = "mf/inline-strided-permute" url = "https://github.com/ITensor/TensorAlgebra.jl" diff --git a/test/Project.toml b/test/Project.toml index fca2487..da70f99 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -14,15 +14,24 @@ NamedGraphs = "678767b0-92e7-4007-89e4-4527a8725b19" QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" +SparseArraysBase = "0d5efcca-f356-4864-8770-e1ed8d78f208" StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3" Suppressor = "fd094767-a336-5f1f-9728-57cf17d0bbfb" TensorAlgebra = "68bd88dc-f39d-4e12-b2ca-f046b68fcc6a" TensorOperations = "6aa20fa7-93e2-5fca-9bc0-fbd0db3c71a2" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +[sources.GradedArrays] +rev = "mf/scalar-unmatricize-graded" +url = "https://github.com/ITensor/GradedArrays.jl" + [sources.ITensorNetworksNext] path = ".." +[sources.SparseArraysBase] +rev = "mf/tensoralgebra-0.14" +url = "https://github.com/ITensor/SparseArraysBase.jl" + [compat] AlgorithmsInterface = "0.1" Aqua = "0.8.14" @@ -38,6 +47,7 @@ NamedGraphs = "0.11, 0.12" QuadGK = "2.11.2" Random = "1.10" SafeTestsets = "0.1" +SparseArraysBase = "0.10.4" StableRNGs = "1" Suppressor = "0.2.8" TensorAlgebra = "0.14" From 5fe7080a1f67136c38505c1d11887836b31c552e Mon Sep 17 00:00:00 2001 From: Matthew Fishman Date: Tue, 30 Jun 2026 15:53:33 -0400 Subject: [PATCH 3/4] Bump the ITensorBase compat to 0.10 ITensorBase 0.10 is a breaking release that drops the `BlockArrays` extension (https://github.com/ITensor/ITensorBase.jl/pull/198). Track it by raising the `ITensorBase` compat bound. --- Project.toml | 2 +- test/Project.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 9859d7a..c0a6db7 100644 --- a/Project.toml +++ b/Project.toml @@ -38,7 +38,7 @@ Combinatorics = "1" DataGraphs = "0.5" Dictionaries = "0.4.5" Graphs = "1.13.1" -ITensorBase = "0.9.2" +ITensorBase = "0.10" LinearAlgebra = "1.10" MacroTools = "0.5.16" MatrixAlgebraKit = "0.6" diff --git a/test/Project.toml b/test/Project.toml index da70f99..3258b2e 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -39,7 +39,7 @@ DataGraphs = "0.5" Dictionaries = "0.4.5" GradedArrays = "0.13.2" Graphs = "1.13.1" -ITensorBase = "0.9.2" +ITensorBase = "0.10" ITensorNetworksNext = "0.9" ITensorPkgSkeleton = "0.3.42" MatrixAlgebraKit = "0.6" From 25fda16d3140c1d5d43c0a6a715bd949a78d777a Mon Sep 17 00:00:00 2001 From: Matthew Fishman Date: Tue, 30 Jun 2026 23:44:31 -0400 Subject: [PATCH 4/4] Drop the source pins now that the upstreams are registered TensorAlgebra 0.14, SparseArraysBase 0.10.4, GradedArrays 0.13.2, and ITensorBase 0.10 are registered, so the `[compat]` bounds resolve against the releases and the branch pins are no longer needed. --- Project.toml | 8 -------- test/Project.toml | 8 -------- 2 files changed, 16 deletions(-) diff --git a/Project.toml b/Project.toml index c0a6db7..534f006 100644 --- a/Project.toml +++ b/Project.toml @@ -23,14 +23,6 @@ SimpleTraits = "699a6c99-e7fa-54fc-8d76-47d257e15c1d" SplitApplyCombine = "03a91e81-4c3e-53e1-a0a4-9c0c8f19dd66" TensorAlgebra = "68bd88dc-f39d-4e12-b2ca-f046b68fcc6a" -[sources.ITensorBase] -rev = "mf/drop-blockarrays-ext" -url = "https://github.com/ITensor/ITensorBase.jl" - -[sources.TensorAlgebra] -rev = "mf/inline-strided-permute" -url = "https://github.com/ITensor/TensorAlgebra.jl" - [compat] Adapt = "4.3" AlgorithmsInterface = "0.1" diff --git a/test/Project.toml b/test/Project.toml index 3258b2e..cf5013c 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -21,17 +21,9 @@ TensorAlgebra = "68bd88dc-f39d-4e12-b2ca-f046b68fcc6a" TensorOperations = "6aa20fa7-93e2-5fca-9bc0-fbd0db3c71a2" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" -[sources.GradedArrays] -rev = "mf/scalar-unmatricize-graded" -url = "https://github.com/ITensor/GradedArrays.jl" - [sources.ITensorNetworksNext] path = ".." -[sources.SparseArraysBase] -rev = "mf/tensoralgebra-0.14" -url = "https://github.com/ITensor/SparseArraysBase.jl" - [compat] AlgorithmsInterface = "0.1" Aqua = "0.8.14"