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 yaml method for diff calculation of environment.yml and dev-env.yml #301

Merged
merged 6 commits into from
Sep 6, 2022

Conversation

rhugonnet
Copy link
Member

@rhugonnet rhugonnet commented Sep 5, 2022

Diff of environment files can be done more easily directly in conda, following @adehecq's comment in #297

However, we lose one thing when using conda compared to the previous PR: we do not test anymore if there are dependencies listed in environment.yml that are not indicated in dev-environment.yml.

I have thus moved the function previously coded in misc.py into test_misc.py, and it will run during the test suite to verify that we have written the environment.yml and dev-environment.yml correctly. Coding this was not for nothing! 😄

Copy link
Member

@adehecq adehecq left a comment

Choose a reason for hiding this comment

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

The master of recycling! 😆

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