From d03a041ad29d187e70fba7d7dace504047d187c0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 13 Aug 2024 23:22:02 -0400 Subject: [PATCH] CompatHelper: bump compat for QuantumSymbolics to 0.4, (keep existing compat) (#144) Co-authored-by: CompatHelper Julia Co-authored-by: Stefan Krastanov Co-authored-by: Stefan Krastanov --- Project.toml | 2 +- src/StatesZoo/StatesZoo.jl | 2 +- test/test_aqua.jl | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 93c13209..7f5e0928 100644 --- a/Project.toml +++ b/Project.toml @@ -53,7 +53,7 @@ QuantumClifford = "0.9.9" QuantumInterface = "0.3.5" QuantumOptics = "1.1.0" QuantumOpticsBase = "0.5.3" -QuantumSymbolics = "0.3" +QuantumSymbolics = "0.4.3" Random = "1" Reexport = "1.2.2" ResumableFunctions = "0.6.9" diff --git a/src/StatesZoo/StatesZoo.jl b/src/StatesZoo/StatesZoo.jl index f8df7992..c03e21b7 100644 --- a/src/StatesZoo/StatesZoo.jl +++ b/src/StatesZoo/StatesZoo.jl @@ -2,7 +2,7 @@ module StatesZoo using DocStringExtensions using QuantumSymbolics, QuantumOpticsBase -using QuantumSymbolics: withmetadata, @withmetadata, Metadata +using QuantumSymbolics: @withmetadata, Metadata import QuantumSymbolics: express_nolookup import LinearAlgebra diff --git a/test/test_aqua.jl b/test/test_aqua.jl index aa035f27..e873294c 100644 --- a/test/test_aqua.jl +++ b/test/test_aqua.jl @@ -1,6 +1,10 @@ using Aqua using QuantumSavory +if get(ENV,"JET_TEST","")=="true" +# JET generates new methods with ambiguities +else + @test Test.detect_ambiguities(QuantumSavory) == Tuple{Method, Method}[] Aqua.test_all(QuantumSavory, @@ -10,3 +14,5 @@ Aqua.test_all(QuantumSavory, ) @test length(Aqua.Piracy.hunt(QuantumSavory)) == 6 + +end \ No newline at end of file