Skip to content

Commit

Permalink
Merge pull request #259 from JuliaPy/vs/mac-aarch64-ci
Browse files Browse the repository at this point in the history
Update runtests.jl to pick a newer numpy that will work on mac aarch64
  • Loading branch information
ViralBShah authored Jun 25, 2024
2 parents f2ab867 + f2671f1 commit 7612e77
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7612e77

Please sign in to comment.