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

Drop support for Python 3.6 #1841

Merged
merged 7 commits into from May 3, 2021
Merged

Drop support for Python 3.6 #1841

merged 7 commits into from May 3, 2021

Conversation

dopplershift
Copy link
Member

@dopplershift dopplershift commented Apr 30, 2021

Description Of Changes

We say we generally support the last two Python minors (though that was before they went to the 12 month update cycle). We left 3.6 so that 1.0 would reach more users. We need to drop 3.6 just to keep pace with our dependencies--and allow us to close out a bunch of dependabot updates. We also bump the minimum SciPy version; 1.1 was the minimum bump needed to get support for Python 3.7 (at least pre-built wheels). I went ahead and went to 1.2 since it was released December 2018 and allows us to eliminate skipping some tests on old versions.

This PR also takes care of some modernization, like more f-strings and using pathlib.

Checklist

This isn't enabled by dropping 3.6 per se, but was found by pyupgrader
when running to adapt anything enabled by 3.7 (there was nothing else).
Just enable all the letters. Turns out we were missing N, so pep8-naming
wasn't turned on.
These crept in while pep8-naming was inadvertently disabled.
SciPy 1.1 was the first to support Python 3.7, our current minimum
Python. SciPy 1.2 gets us closer to our nominal 2 year support window
and eliminates skipping some tests.
This gets us pre-built wheels suitable for testing for 3.7 CI. It also
moves in line more with our support window and allows us to drop another
test skip.
@dcamron dcamron merged commit fee4d78 into Unidata:main May 3, 2021
@dopplershift dopplershift deleted the drop36 branch May 3, 2021 18:27
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.

Drop Python 3.6
2 participants