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
Fix compat tests #584
Fix compat tests #584
Conversation
grep -v "pyiron_base" ../pyiron_atomistics/.ci_support/environment.yml > environment.yml | ||
tail -n +4 .ci_support/environment.yml >> environment.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if we update a dependency in base but not (yet) in atomistics? would this work or throw an error due to twice the same dependency with different versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To my understanding the last entry for the same package overwrites all previous ones
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wrote a small python script to merge the environments https://github.com/pyiron/pyiron_base/blob/compatfix/.ci_support/condamerge.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! We could only think about a common script/class to handle environments - we also have the script to update an environment.yml by providing package, old, and new version.
@@ -284,12 +284,12 @@ def _validate_viewer_configuration(config: Dict) -> None: | |||
@staticmethod | |||
def _validate_no_database_configuration(config: Dict) -> None: | |||
if "disable_database" in config.keys() and config["disable_database"]: | |||
if config["project_check_enabled"]: | |||
if "project_check_enabled" in config.keys() and config["project_check_enabled"]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am a bit surprised to see this in this PR, but the changes are ok to me. Did they pop up here or just sneak in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They sneaked in
No description provided.