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

Release 0.3 #28

Merged
merged 20 commits into from
Apr 20, 2019
Merged

Release 0.3 #28

merged 20 commits into from
Apr 20, 2019

Conversation

nsheff
Copy link
Contributor

@nsheff nsheff commented Apr 10, 2019

adds divvy write and divvy list commands, fixes yaml warnings, reduces verbosity.

  • version bump
  • changelog

divvy/compute.py Outdated
warnings.warn("Divvy compute configuration '{}' section changed "
"to '{}'".format(old_compute_key, new_compute_key),
DeprecationWarning)
env_settings[new_compute_key] = env_settings[old_compute_key]
Copy link
Member

Choose a reason for hiding this comment

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

This way of handling the deprecation/backcompat allows the keys to map to different values.

warnings.warn("Divvy compute configuration '{}' section changed "
"to '{}'".format(OLD_COMPUTE_KEY, NEW_COMPUTE_KEY),
DeprecationWarning)
env_settings[NEW_COMPUTE_KEY] = env_settings[OLD_COMPUTE_KEY]
Copy link
Member

Choose a reason for hiding this comment

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

It bothers me that this still allows subsequent mutations to have the keys get out of sync, but this is used in small enough fashion that I don't think it's a big deal. This sort of thing motivates pepkit/attmap#20.
Same as #28 (comment)

@vreuter
Copy link
Member

vreuter commented Apr 19, 2019

@nsheff I think this is set for merge now if you're ready

@nsheff
Copy link
Contributor Author

nsheff commented Apr 20, 2019

great thanks!

@nsheff nsheff merged commit ee588ac into master Apr 20, 2019
@vreuter vreuter deleted the dev branch April 23, 2019 14:21
nsheff added a commit that referenced this pull request May 2, 2019
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