From e3a72700ed26bb940fb6349d06d488a856a5aaaa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 27 Oct 2024 21:18:25 -0400 Subject: [PATCH] CompatHelper: bump compat for ITensors to 0.7, (keep existing compat) (#25) --- .github/workflows/CI.yml | 6 +++--- Project.toml | 6 +++--- .../01_parallel_mpo_sum_2d_hubbard_conserve_momentum.jl | 2 +- examples/02_mpi_mpo_sum_2d_hubbard_conserve_momentum.jl | 2 +- test/Project.toml | 4 ---- 5 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 25d50ae..c12a961 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: version: - - '1.6' + - 'lts' - '1' os: - ubuntu-latest @@ -27,8 +27,8 @@ jobs: arch: - x64 steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@latest with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} diff --git a/Project.toml b/Project.toml index 48bb136..1a6980c 100644 --- a/Project.toml +++ b/Project.toml @@ -16,10 +16,10 @@ MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" Accessors = "0.1.26" Compat = "4.8" Folds = "0.2.8" -ITensorMPS = "0.1.7, 0.2" -ITensors = "0.3.58, 0.4, 0.5, 0.6" +ITensorMPS = "0.3" +ITensors = "0.7" MPI = "0.20" -julia = "1.6" +julia = "1.10" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/examples/01_parallel_mpo_sum_2d_hubbard_conserve_momentum.jl b/examples/01_parallel_mpo_sum_2d_hubbard_conserve_momentum.jl index 356d2b5..f244df3 100644 --- a/examples/01_parallel_mpo_sum_2d_hubbard_conserve_momentum.jl +++ b/examples/01_parallel_mpo_sum_2d_hubbard_conserve_momentum.jl @@ -11,7 +11,7 @@ using LinearAlgebra: BLAS using Random: Random using Strided: Strided -electronk_path = joinpath(pkgdir(ITensors), "src", "lib", "ITensorMPS", "examples", "src") +electronk_path = joinpath(pkgdir(ITensorMPS), "examples", "src") include(joinpath(electronk_path, "electronk.jl")) include(joinpath(electronk_path, "hubbard.jl")) diff --git a/examples/02_mpi_mpo_sum_2d_hubbard_conserve_momentum.jl b/examples/02_mpi_mpo_sum_2d_hubbard_conserve_momentum.jl index 8a6ae9f..eb8dcdd 100644 --- a/examples/02_mpi_mpo_sum_2d_hubbard_conserve_momentum.jl +++ b/examples/02_mpi_mpo_sum_2d_hubbard_conserve_momentum.jl @@ -7,7 +7,7 @@ using LinearAlgebra: BLAS using Random: Random using Strided: Strided -electronk_path = joinpath(pkgdir(ITensors), "src", "lib", "ITensorMPS", "examples", "src") +electronk_path = joinpath(pkgdir(ITensorMPS), "examples", "src") include(joinpath(electronk_path, "electronk.jl")) include(joinpath(electronk_path, "hubbard.jl")) diff --git a/test/Project.toml b/test/Project.toml index 7a8f424..def603b 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -10,7 +10,3 @@ MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" Strided = "5e0ebb24-38b0-5f93-81fe-25c709ecae67" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" - -[compat] -ITensorMPS = "0.2.2" -ITensors = "0.6.7"