Skip to content

Commit

Permalink
require Julia 1.3 for Downloads package (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj authored Dec 1, 2021
1 parent c850019 commit db1cf12
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
version:
- "1"
- "1.0"
- "1.3"
- nightly
os:
- ubuntu-latest
Expand Down
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ uuid = "8f4d0f93-b110-5947-807f-2305c1781a2d"
version = "1.5.2"

[deps]
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
VersionParsing = "81def892-9a0e-5fdd-b105-ffc91e053289"

[compat]
JSON = "0.18,0.19,0.20,0.21"
VersionParsing = "1"
julia = "1"
julia = "1.3"
Downloads = "1"

[extras]
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Expand Down
3 changes: 2 additions & 1 deletion src/Conda.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The main functions in Conda are:
"""
module Conda
using JSON, VersionParsing
import Downloads

const deps_file = joinpath(dirname(@__FILE__), "..", "deps", "deps.jl")

Expand Down Expand Up @@ -198,7 +199,7 @@ function _install_conda(env::Environment, force::Bool=false)
installer = joinpath(PREFIX, "installer.exe")
end
mkpath(PREFIX)
download(_installer_url(), installer)
Downloads.download(_installer_url(), installer)

@info("Installing miniconda ...")
if Sys.isunix()
Expand Down

0 comments on commit db1cf12

Please sign in to comment.