Skip to content
Snippets Groups Projects
Commit fa9beb74 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[build] Fix printout

parent 955363fa
No related branches found
No related tags found
No related merge requests found
Pipeline #26042 failed
...@@ -316,8 +316,8 @@ if __name__ == '__main__': ...@@ -316,8 +316,8 @@ if __name__ == '__main__':
channels = bootstrap.get_channels( channels = bootstrap.get_channels(
public=(os.environ['CI_PROJECT_VISIBILITY']=='public'), public=(os.environ['CI_PROJECT_VISIBILITY']=='public'),
stable=(not is_prerelease), server=bootstrap._SERVER, intranet=True) stable=(not is_prerelease), server=bootstrap._SERVER, intranet=True)
logger.info('Using the following channels during build:%s', logger.info('Using the following channels during build:\n - %s',
'\n - '.join(channels)) '\n - '.join(channels + ['defaults']))
condarc_options['channels'] = channels + ['defaults'] condarc_options['channels'] = channels + ['defaults']
conda_config = make_conda_config(conda_build_config, pyver, recipe_append, conda_config = make_conda_config(conda_build_config, pyver, recipe_append,
......
...@@ -100,8 +100,8 @@ def build(recipe_dir, python, condarc, config, no_test, append_file, ...@@ -100,8 +100,8 @@ def build(recipe_dir, python, condarc, config, no_test, append_file,
else: else:
# use default and add channels # use default and add channels
condarc_options = yaml.load(BASE_CONDARC) #n.b.: no channels condarc_options = yaml.load(BASE_CONDARC) #n.b.: no channels
logger.info('Using the following channels during build:%s', logger.info('Using the following channels during build:\n - %s',
'\n - '.join(channels)) '\n - '.join(channels + ['defaults']))
condarc_options['channels'] = channels + ['defaults'] condarc_options['channels'] = channels + ['defaults']
conda_config = make_conda_config(config, python, append_file, condarc_options) conda_config = make_conda_config(config, python, append_file, condarc_options)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment