Conda-build: --use-local or --offline mode required

Created on 2 Dec 2015  路  4Comments  路  Source: conda/conda-build

Building conda packages should have the option of --use-local or the equivalent of --offline so the package build will rely exclusively on the local package cache. AFAICT at the moment this is not possible.

2_Needs_Decision

Most helpful comment

It would be really handy to have an --offline version at the very least; not being able to run conda build when disconnected (although all the dependencies are already cached and/or are locally built anyways) is pretty sad.

All 4 comments

AFAICT at the moment this is not possible.

It is possible to just change your condarc's channels. Also, it is possible to do:

conda build ... -c file://my_local_channel --override-channels

Of course, none of this is automatic to filter all of the http channels as --offline does.

+1 to this.

Looping in #282 since it is a related request.

Note that if you have a local build of a package, conda-build will automatically pick it up (so you don't need --use-local in the traditional conda install sense)

It would be really handy to have an --offline version at the very least; not being able to run conda build when disconnected (although all the dependencies are already cached and/or are locally built anyways) is pretty sad.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jakirkham picture jakirkham  路  6Comments

asmeurer picture asmeurer  路  3Comments

arsenovic picture arsenovic  路  4Comments

beenje picture beenje  路  4Comments

krinsman picture krinsman  路  6Comments