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 code needed for Python <3.6 #844

Merged
merged 1 commit into from
Oct 28, 2020
Merged

Remove code needed for Python <3.6 #844

merged 1 commit into from
Oct 28, 2020

Conversation

bouweandela
Copy link
Member

This pull request removes code needed for Python versions we no longer support: dicts are ordered since Python 3.6, so there is no need to use an OrderedDict anymore.

It also removes the function esmvalcore._recipe._get_value, which was not used for anything anymore.

Copy link
Contributor

@valeriupredoi valeriupredoi left a comment

Choose a reason for hiding this comment

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

good stuff, @bouweandela 🍺 We sure have this specified in the documentation - we support only Python>=3.6?

@bouweandela
Copy link
Member Author

Yes, it's here, first line: https://docs.esmvaltool.org/en/latest/quickstart/installation.html

@valeriupredoi
Copy link
Contributor

good to go in me books!

@bouweandela bouweandela merged commit 16f8a41 into master Oct 28, 2020
@bouweandela bouweandela deleted the remove-outdated branch October 28, 2020 15:17
@jvegreg jvegreg added the enhancement New feature or request label Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants