Skip to content
New issue

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

Add ability to specify channel overrides on the command line #49

Merged
merged 5 commits into from
Sep 10, 2020

Conversation

mariusvniekerk
Copy link
Collaborator

No description provided.

nargs="?",
action="append",
help="Additional channels to include in the solve. Requires the --override-channels flag",
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need a default value here too or args.channels is gonna raise down on line 469

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed the channels to allow None

@@ -442,6 +481,8 @@ def main():
platforms=args.platform,
no_mamba=args.no_mamba,
include_dev_dependencies=args.dev_dependencies,
channels=args.channels,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete this

@mariusvniekerk mariusvniekerk merged commit 2717932 into conda:master Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants