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

Remove pins when not used #233

Merged
merged 3 commits into from
Oct 24, 2019
Merged

Remove pins when not used #233

merged 3 commits into from
Oct 24, 2019

Conversation

mcg1969
Copy link
Collaborator

@mcg1969 mcg1969 commented Oct 23, 2019

@AlbertDeFusco for consideration in our afternoon call.

Currently anaconda-project is creating a pinned file to ensure that its version specifications are enforced when new packages are added to the environment. This was necessary to address the anaconda-project prepare issue whereby dependency versions were allowed to change, in violation of the YAML spec. But currently the code leaves the pinned file in place so that even direct calls to conda enforce those requirements.

That may be overkill for users. If so this PR would insert the pinned file only temporarily, after every invocation of anaconda-project's environment preparation runs, and remove it afterward.

@mcg1969 mcg1969 merged commit 99f899b into anaconda:master Oct 24, 2019
@mcg1969 mcg1969 deleted the remove-pins branch October 24, 2019 01:38
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.

None yet

1 participant