From e794e712b74a531f097ea4f67b91fcb151b886c6 Mon Sep 17 00:00:00 2001 From: Matthew Fishman Date: Sun, 5 Jul 2026 15:47:24 -0400 Subject: [PATCH 1/4] Support TensorAlgebra 0.17 Co-authored-by: Claude Fable 5 --- Project.toml | 4 ++-- test/Project.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 8bbe85d..c5b6960 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "SparseArraysBase" uuid = "0d5efcca-f356-4864-8770-e1ed8d78f208" -version = "0.10.6" +version = "0.10.7" authors = ["ITensor developers and contributors"] [workspace] @@ -35,5 +35,5 @@ LinearAlgebra = "1.10" MapBroadcast = "0.1.5" Random = "1.10" SparseArrays = "1.10" -TensorAlgebra = "0.15, 0.16" +TensorAlgebra = "0.15, 0.16, 0.17" julia = "1.10" diff --git a/test/Project.toml b/test/Project.toml index b4169bd..b1efe2b 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -34,5 +34,5 @@ SparseArrays = "1.10" SparseArraysBase = "0.10" StableRNGs = "1.0.2" Suppressor = "0.2.8" -TensorAlgebra = "0.15, 0.16" +TensorAlgebra = "0.15, 0.16, 0.17" Test = "<0.0.1, 1" From 556df8444a4bc389a8dc71bfca63afdf1ad63dc8 Mon Sep 17 00:00:00 2001 From: Matthew Fishman Date: Mon, 6 Jul 2026 10:47:34 -0400 Subject: [PATCH 2/4] Pin the TensorAlgebra branch while the 0.17 support is in review Draft-only source pin so CI resolves against the in-flight TensorAlgebra 0.17 branch. Removed once TensorAlgebra 0.17 registers. Co-authored-by: Claude --- Project.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Project.toml b/Project.toml index c5b6960..a7af741 100644 --- a/Project.toml +++ b/Project.toml @@ -21,6 +21,10 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" [weakdeps] TensorAlgebra = "68bd88dc-f39d-4e12-b2ca-f046b68fcc6a" +[sources.TensorAlgebra] +rev = "mf/project-trailing-axes" +url = "https://github.com/ITensor/TensorAlgebra.jl" + [extensions] SparseArraysBaseTensorAlgebraExt = ["TensorAlgebra", "SparseArrays"] From f3d3cf5e7adb0757189ba8b3f63705852f94d325 Mon Sep 17 00:00:00 2001 From: Matthew Fishman Date: Mon, 6 Jul 2026 13:12:09 -0400 Subject: [PATCH 3/4] Pin the TensorAlgebra branch in the test project, not the root `TensorAlgebra` is a weak dependency of `SparseArraysBase`, and Pkg rejects a `[sources]` entry in the root `Project.toml` for a package listed only under `[weakdeps]` ("Sources for `TensorAlgebra` not listed in `deps` or `extras`"). The tests are the only workspace member that depends on `TensorAlgebra` directly, so pin the branch there. The workspace shares one manifest, so the test-project source still governs resolution. Co-Authored-By: Claude Opus 4.8 (1M context) --- Project.toml | 4 ---- test/Project.toml | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Project.toml b/Project.toml index a7af741..c5b6960 100644 --- a/Project.toml +++ b/Project.toml @@ -21,10 +21,6 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" [weakdeps] TensorAlgebra = "68bd88dc-f39d-4e12-b2ca-f046b68fcc6a" -[sources.TensorAlgebra] -rev = "mf/project-trailing-axes" -url = "https://github.com/ITensor/TensorAlgebra.jl" - [extensions] SparseArraysBaseTensorAlgebraExt = ["TensorAlgebra", "SparseArrays"] diff --git a/test/Project.toml b/test/Project.toml index b1efe2b..81ffc95 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -19,6 +19,10 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [sources.SparseArraysBase] path = ".." +[sources.TensorAlgebra] +rev = "mf/project-trailing-axes" +url = "https://github.com/ITensor/TensorAlgebra.jl" + [compat] Adapt = "4.2" Aqua = "0.8.11" From e6767cea95661a5fc72ac8aef58dfefc2343dcce Mon Sep 17 00:00:00 2001 From: Matthew Fishman Date: Tue, 7 Jul 2026 15:23:03 -0400 Subject: [PATCH 4/4] Remove test [sources] pin on TensorAlgebra now that 0.17 is registered --- test/Project.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/Project.toml b/test/Project.toml index 81ffc95..b1efe2b 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -19,10 +19,6 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [sources.SparseArraysBase] path = ".." -[sources.TensorAlgebra] -rev = "mf/project-trailing-axes" -url = "https://github.com/ITensor/TensorAlgebra.jl" - [compat] Adapt = "4.2" Aqua = "0.8.11"