From b3fa098fb3815a37326438c3b2f939f65ab197c8 Mon Sep 17 00:00:00 2001 From: Mary Jo Ramos Date: Wed, 12 May 2021 13:05:26 -0500 Subject: [PATCH 1/2] Fix downlaod deprecation for Julia 1.6 --- src/Conda.jl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/Conda.jl b/src/Conda.jl index d7881bc..eaf4406 100644 --- a/src/Conda.jl +++ b/src/Conda.jl @@ -14,7 +14,16 @@ The main functions in Conda are: ``` """ module Conda -using JSON, VersionParsing + +using JSON +using VersionParsing + +if VERSION >= v"1.6.0-DEV.923" + # Use Downloads.jl once Conda.jl drops support for Julia versions < 1.3 + download(args...) = Base.invokelatest(Base.Downloads().download, args...) +else + using Base: download +end const deps_file = joinpath(dirname(@__FILE__), "..", "deps", "deps.jl") From e9b259f0f36a9e9534e056193dddc115e70a2d38 Mon Sep 17 00:00:00 2001 From: Mary Jo Ramos Date: Wed, 12 May 2021 13:05:39 -0500 Subject: [PATCH 2/2] Set version to 1.5.3 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 3591bae..11a52dd 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "Conda" uuid = "8f4d0f93-b110-5947-807f-2305c1781a2d" -version = "1.5.2" +version = "1.5.3" [deps] JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"