diff --git a/Project.toml b/Project.toml index 29a029e1..b23fca38 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "QuantumOpticsBase" uuid = "4f57444f-1401-5e15-980d-4471b28d5678" -version = "0.4.18" +version = "0.4.19" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" @@ -21,31 +21,14 @@ UnsafeArrays = "c4a57d5a-5b31-53a6-b365-19f8c011fbd6" Adapt = "1, 2, 3.3" FFTW = "1.2" FastExpm = "1.1.0" -FastGaussQuadrature = "0.5" +FastGaussQuadrature = "0.5, 1" FillArrays = "0.13, 1" LRUCache = "1" +LinearAlgebra = "1" QuantumInterface = "0.3.3" +Random = "1" RandomMatrices = "0.5" +SparseArrays = "1" Strided = "1, 2" UnsafeArrays = "1" julia = "1.6" - -[extras] -Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" -Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" -Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" -FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341" -FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b" -JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" -LRUCache = "8ac3fa9e-de4c-5943-b1dc-09c6b5f20637" -LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" -Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" -SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" -StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" -Strided = "5e0ebb24-38b0-5f93-81fe-25c709ecae67" -StridedViews = "4db3bf67-4bd7-4b4e-b153-31dc3fb37143" -Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" -UnsafeArrays = "c4a57d5a-5b31-53a6-b365-19f8c011fbd6" - -[targets] -test = ["LinearAlgebra", "SparseArrays", "Random", "Test", "Aqua", "JET", "Adapt", "Dates", "FFTW", "LRUCache", "Strided", "StridedViews", "UnsafeArrays", "FillArrays", "StatsBase"] diff --git a/test/Project.toml b/test/Project.toml new file mode 100644 index 00000000..272e2c15 --- /dev/null +++ b/test/Project.toml @@ -0,0 +1,18 @@ +[deps] +Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" +Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" +FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341" +FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +LRUCache = "8ac3fa9e-de4c-5943-b1dc-09c6b5f20637" +LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +QuantumInterface = "5717a53b-5d69-4fa3-b976-0bf2f97ca1e5" +Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" +RandomMatrices = "2576dda1-a324-5b11-aa66-c48ed7e3c618" +SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" +StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" +Strided = "5e0ebb24-38b0-5f93-81fe-25c709ecae67" +StridedViews = "4db3bf67-4bd7-4b4e-b153-31dc3fb37143" +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +UnsafeArrays = "c4a57d5a-5b31-53a6-b365-19f8c011fbd6" \ No newline at end of file diff --git a/test/test_aqua.jl b/test/test_aqua.jl index bd5289af..f5652a7c 100644 --- a/test/test_aqua.jl +++ b/test/test_aqua.jl @@ -8,7 +8,7 @@ using StatsBase Aqua.test_all(QuantumOpticsBase; ambiguities=(exclude=[FillArrays.reshape, # Due to https://github.com/JuliaArrays/FillArrays.jl/issues/105#issuecomment-1518406018 StatsBase.TestStat, StatsBase.:(==) , StatsBase.sort!],), # Due to https://github.com/JuliaStats/StatsBase.jl/issues/861 - piracy=(broken=true,) + piracies=(broken=true,) ) # manual piracy check to exclude identityoperator pirates = [pirate for pirate in Aqua.Piracy.hunt(QuantumOpticsBase) if pirate.name ∉ [:identityoperator,:identitysuperoperator]] diff --git a/test/test_jet.jl b/test/test_jet.jl index 9dfed8cf..7f59a361 100644 --- a/test/test_jet.jl +++ b/test/test_jet.jl @@ -19,7 +19,7 @@ function (::MayThrowIsOk)(report_type::Type{<:InferenceErrorReport}, @nospeciali end # imported to be declared as modules filtered out from analysis result -using LinearAlgebra, LRUCache, Strided, StridedViews, Dates, SparseArrays +using LinearAlgebra, LRUCache, Strided, StridedViews, Dates, SparseArrays, RandomMatrices @testset "jet" begin if get(ENV,"JET_TEST","")=="true" @@ -31,10 +31,11 @@ using LinearAlgebra, LRUCache, Strided, StridedViews, Dates, SparseArrays AnyFrameModule(Strided), AnyFrameModule(StridedViews), AnyFrameModule(Dates), - AnyFrameModule(SparseArrays)) + AnyFrameModule(SparseArrays), + AnyFrameModule(RandomMatrices)) ) @show rep - @test length(JET.get_reports(rep)) <= 6 + @test length(JET.get_reports(rep)) <= 8 @test_broken length(JET.get_reports(rep)) == 0 end end # testset