anaconda-graveyard / nb_anacondacloud

Interact with Anaconda Cloud
BSD 2-Clause "Simplified" License
5 stars 9 forks source link

Won't work under conda 4.4+ when conda is not on path #46

Open tjd2002 opened 6 years ago

tjd2002 commented 6 years ago

In 2 locations in the code, nb_anacondacloud calls 'conda'--this won't work for new-style (conda>=4.4) installs where conda is not on the path.

I just found these calls while doing research for https://github.com/Anaconda-Platform/anaconda-nb-extensions/issues/168; I haven't verified that this is broken.

https://github.com/Anaconda-Platform/nb_anacondacloud/blob/0fc144d3140a4bf778d2d7c1dfecc440d1658769/nb_anacondacloud/uploader.py#L73

https://github.com/Anaconda-Platform/nb_anacondacloud/blob/0fc144d3140a4bf778d2d7c1dfecc440d1658769/nb_anacondacloud/uploader.py#L90-L92