Skip to content

Commit

Permalink
Merge pull request #576 from JuliaAI/dpa/pkg-add-statistics
Browse files Browse the repository at this point in the history
The issue with stdlib versions being fixed to 0.0.0 has been fixed in new versions of Julia
  • Loading branch information
ablaom authored Dec 15, 2024
2 parents ae16d50 + 6b2ac85 commit d963781
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# The next two lines added as a workaround to
# https://github.com/JuliaLang/Pkg.jl/issues/3628 (Julia 1.6):
import Pkg
Pkg.add(name="Statistics", version=VERSION)

if Base.VERSION >= v"1.10-"
# The issue with stdlib versions being fixed to 0.0.0 has been fixed in new versions of Julia
else
# The next line added as a workaround to
# https://github.com/JuliaLang/Pkg.jl/issues/3628 (Julia 1.6):
Pkg.add(name="Statistics", version=VERSION, uuid="10745b16-79ce-11e8-11f9-7d13ad32a3b2")
end

using Test, MLJModels

Expand Down

0 comments on commit d963781

Please sign in to comment.