Does CondaPkg override Pkg.add
or Pkg.precompile
to install Python dependencies listed in CondaPkg.toml
when a user add
or import
a Julia package that uses CondaPkg? The process seems a little too magical, so I’d like to confirm if this involves some benign type piracy of hijacking Pkg
.
2 Likes
I skimmed CondaPkg’s source for “add”, and I didn’t see anywhere that extended the Pkg.add
function, let alone overwrote a method. CondaPkg has its own add
for CondaPkg.toml that CondaPkg.PkgREPL.__init__
contributes to the Pkg REPL mode as the conda add
command, but that shouldn’t affect Pkg.add
or the add
command. I have no idea, good question.
2 Likes