Skip to content

Commit 48322dd

Browse files
author
Christopher Doris
committed
remove JSON dependency
1 parent 6813a89 commit 48322dd

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ version = "0.3.0"
77
Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"
88
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
99
IteratorInterfaceExtensions = "82899510-4779-5014-852e-03e436cf321d"
10-
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
1110
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
1211
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1312
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
@@ -23,7 +22,6 @@ UnsafePointers = "e17b2a0c-0bdf-430a-bd0c-3a23cae4ff39"
2322
[compat]
2423
Conda = "1.5"
2524
IteratorInterfaceExtensions = "1"
26-
JSON = "0.21"
2725
MacroTools = "0.5"
2826
Requires = "1"
2927
TableTraits = "1"

src/deps.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Deps
22

3-
import Conda, JSON, TOML, Pkg, Dates, ..PythonCall
3+
import Conda, TOML, Pkg, Dates, ..PythonCall
44

55
### META
66

@@ -356,7 +356,6 @@ function resolve(; create=true, force=false)
356356
append!(conda_args, conda_packages)
357357
if create || !isdir(env)
358358
ispath(env) && conda_run_root(`env remove --yes --prefix $env`)
359-
ispath(env) && Base.rm(env, force=true, recursive=true)
360359
conda_run_root(`create --yes --no-default-packages --no-channel-priority --prefix $env $conda_args`)
361360
conda_activate()
362361
else

0 commit comments

Comments
 (0)