-
Notifications
You must be signed in to change notification settings - Fork 88
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
[BUG] add-packages to dependencies:
section, if present.
#337
Comments
dependencies:
section.dependencies:
section, if present.
ah! thanks for that. |
I agree. I've been looking at the code and I see that
This seems like a good opportunity to adopt black (or some other linter/formatter) to swap all singe to double quotes to help my grepping |
@AlbertDeFusco I will push some code later today, but I have made a test fixture that should run all tests with |
Great! Looking forward to meeting tomorrow |
When an
anaconda-project.yml
file has adependencies:
section rather than apackages:
section as allowed by the alias implemented in PR #200 and requested in issue #194 so thatanaconda-project.yml
files can act asenvironment.yml
files, new packages should be added to the existing section.What happens instead is that
anaconda-project add-packages
inserts and additionalpackages:
section with the new package rather than reusing the existingdependencies:
section. Thus,anaconda-project add-packages pandas
migh produce something like this:when it should produce something like:
The text was updated successfully, but these errors were encountered: