We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conda-environment=<file>
Even if you specify e.g.
[build] builder = CondaEnv conda-environment = environment.yml
in cirrus.conf, you still get:
RuntimeError: No conda environment yaml specified in cirrus.conf [build] section or via --environment option
when you run conda build . The workaround is to specify on command line conda build --environment=environment.yml .
conda build
conda build --environment=environment.yml
The reason this appears to be happening is that in conda_env.py, this code
self.plugin_parser.add_argument( '--environment', help='conda environment file to process', default=None )
causes the lookup here
environment = kwargs.get( 'environment', self.build_config.get('conda-environment', None) )
to fail, because the kwargs['environment'] = None so the build_config.get is never invoked.
kwargs['environment'] = None
build_config.get
The text was updated successfully, but these errors were encountered:
fix for #174
46ff3cc
#175
Sorry, something went wrong.
No branches or pull requests
Even if you specify e.g.
in cirrus.conf, you still get:
when you run
conda build
. The workaround is to specify on command lineconda build --environment=environment.yml
.The reason this appears to be happening is that in conda_env.py, this code
causes the lookup here
to fail, because the
kwargs['environment'] = None
so thebuild_config.get
is never invoked.The text was updated successfully, but these errors were encountered: