From e061f484868f6436fcdceee21ddb61c8dc8b2b02 Mon Sep 17 00:00:00 2001 From: "Viral B. Shah" Date: Tue, 25 Jun 2024 17:12:24 -0400 Subject: [PATCH] Update runtests.jl to pick a newer numpy that will work on mac aarch64 --- test/runtests.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index c32e67e..35386df 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -89,19 +89,19 @@ end Conda.create(env) # Add with low version number constraint - Conda.add("numpy=1.14", env) + Conda.add("numpy=1.22", env) ver = Conda.version("numpy", env) - @test ver >= v"1.14" && ver < v"1.15" + @test ver >= v"1.22" && ver < v"1.23" # Readd with satisified skip solve, version should not change Conda.add("numpy", env; satisfied_skip_solve = true) ver = Conda.version("numpy", env) - @test ver >= v"1.14" && ver < v"1.15" + @test ver >= v"1.22" && ver < v"1.23" # Readd with -S, version should not change Conda.add("numpy", env; args=`-S`) ver = Conda.version("numpy", env) - @test ver >= v"1.14" && ver < v"1.15" + @test ver >= v"1.22" && ver < v"1.23" end end