From d52669b4fc1c1a484f81673547222c06f45cc26c Mon Sep 17 00:00:00 2001 From: Matthew Fishman Date: Wed, 24 Jun 2026 10:20:15 -0400 Subject: [PATCH 1/4] Move to TensorAlgebra 0.11 Bumps the TensorAlgebra compat bound to 0.11 (https://github.com/ITensor/TensorAlgebra.jl/pull/181), picked up through ITensorBase (https://github.com/ITensor/ITensorBase.jl/pull/184). ITensorNetworksNext uses none of the blocked-tuple types that release removes, so no code changes are needed. --- Project.toml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 2770328..9f25086 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "ITensorNetworksNext" uuid = "302f2e75-49f0-4526-aef7-d8ba550cb06c" -version = "0.7.0" +version = "0.7.1" authors = ["ITensor developers and contributors"] [workspace] @@ -23,6 +23,14 @@ SimpleTraits = "699a6c99-e7fa-54fc-8d76-47d257e15c1d" SplitApplyCombine = "03a91e81-4c3e-53e1-a0a4-9c0c8f19dd66" TensorAlgebra = "68bd88dc-f39d-4e12-b2ca-f046b68fcc6a" +[sources.ITensorBase] +rev = "mf/tensoralgebra-0.11" +url = "https://github.com/ITensor/ITensorBase.jl" + +[sources.TensorAlgebra] +rev = "mf/v0.11" +url = "https://github.com/ITensor/TensorAlgebra.jl" + [compat] Adapt = "4.3" AlgorithmsInterface = "0.1" @@ -38,5 +46,5 @@ NamedGraphs = "0.11" Random = "1.10" SimpleTraits = "0.9.5" SplitApplyCombine = "1.2.3" -TensorAlgebra = "0.10" +TensorAlgebra = "0.11" julia = "1.10" From 6eb4f17a7aa8ddc3e39ed331df2d547b05278326 Mon Sep 17 00:00:00 2001 From: Matthew Fishman Date: Wed, 24 Jun 2026 12:32:18 -0400 Subject: [PATCH 2/4] Drop a stale BaseExtensions reference Removes a comment pointing at TensorAlgebra's BaseExtensions submodule, which no longer exists. --- src/abstracttensornetwork.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/abstracttensornetwork.jl b/src/abstracttensornetwork.jl index 664a224..49d3a14 100644 --- a/src/abstracttensornetwork.jl +++ b/src/abstracttensornetwork.jl @@ -111,7 +111,6 @@ function setindex_preserve_graph!(tn::AbstractGraph, value, vertex) return tn end -# TODO: Move to `BaseExtensions` module. function is_setindex!_expr(expr::Expr) return is_assignment_expr(expr) && is_getindex_expr(first(expr.args)) end From fdca7795aad7d3de3916d90b5d26f4c4f062bdfd Mon Sep 17 00:00:00 2001 From: Matthew Fishman Date: Wed, 24 Jun 2026 13:04:18 -0400 Subject: [PATCH 3/4] Bump ITensorBase compat to 0.8 and align the test TensorAlgebra bound ITensorBase 0.8 is the release that moves onto TensorAlgebra 0.11. Also sets the test project's TensorAlgebra compat to 0.11 so it matches the root project. --- Project.toml | 2 +- test/Project.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 9f25086..4c91f8a 100644 --- a/Project.toml +++ b/Project.toml @@ -38,7 +38,7 @@ Combinatorics = "1" DataGraphs = "0.4" Dictionaries = "0.4.5" Graphs = "1.13.1" -ITensorBase = "0.7" +ITensorBase = "0.8" LinearAlgebra = "1.10" MacroTools = "0.5.16" MatrixAlgebraKit = "0.6" diff --git a/test/Project.toml b/test/Project.toml index 9369470..e4dbe5d 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -30,7 +30,7 @@ DataGraphs = "0.4" Dictionaries = "0.4.5" GradedArrays = "0.10" Graphs = "1.13.1" -ITensorBase = "0.7" +ITensorBase = "0.8" ITensorNetworksNext = "0.7" 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.10" +TensorAlgebra = "0.11" TensorOperations = "5.3.1" Test = "1.10" From db1f7f3ea66141922d0f5c1a3bc2c396e0046c8f Mon Sep 17 00:00:00 2001 From: Matthew Fishman Date: Wed, 24 Jun 2026 17:43:28 -0400 Subject: [PATCH 4/4] Drop the TensorAlgebra and ITensorBase [sources] pins now that they are registered Co-Authored-By: Claude Opus 4.8 --- Project.toml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Project.toml b/Project.toml index 4c91f8a..b5c5900 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/tensoralgebra-0.11" -url = "https://github.com/ITensor/ITensorBase.jl" - -[sources.TensorAlgebra] -rev = "mf/v0.11" -url = "https://github.com/ITensor/TensorAlgebra.jl" - [compat] Adapt = "4.3" AlgorithmsInterface = "0.1"