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 Python 3.9 #3612

Merged
merged 9 commits into from
Aug 28, 2024
Merged

Drop Python 3.9 #3612

merged 9 commits into from
Aug 28, 2024

Conversation

dopplershift
Copy link
Member

@dopplershift dopplershift commented Aug 27, 2024

Description Of Changes

The time has come to drop Python 3.9, following suit with the rest of the ecosystem. We have a backlog of version updates for dependencies that don't support Python 3.9.

  • Remove 3.9 from CI matrices
  • Update documentation and package metadata to reflect Python version support
  • Update minimum supported versions to work with Python 3.10 minimum supported version
  • Update code using pyupgrade pyupgrade didn't find anything

Checklist

  • Fully documented

@dopplershift dopplershift requested a review from a team as a code owner August 27, 2024 17:06
@dopplershift dopplershift requested review from dcamron and removed request for a team August 27, 2024 17:06
@dopplershift dopplershift added Area: Infrastructure Pertains to project infrastructure (e.g. CI, linting) Type: Maintenance Updates and clean ups (but not wrong) Area: Docs Affects documentation labels Aug 27, 2024
@dopplershift dopplershift added this to the 1.7.0 milestone Aug 27, 2024
Numpy 1.22.0 and PyProj 3.3.0 are the first versions to ship wheels for
and officially support Python 3.10.
Needed to easily get an environment on conda-forge. Not strictly needed,
but still 3 years old so no big deal to bump.
This clears an xarray deprecation warning on Python 3.10.
Seems to have slightly changed due to version bumps. Only a slight
change above previous value necessary.
With Python 3.10, we can swap a tuple (A, B) to use a more type
hint-like syntax of A | B.
6.2 was resulting in weird errors on Python 3.10.
@dopplershift dopplershift merged commit 178a1f3 into Unidata:main Aug 28, 2024
31 checks passed
@dopplershift dopplershift deleted the drop-py39 branch August 28, 2024 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Docs Affects documentation Area: Infrastructure Pertains to project infrastructure (e.g. CI, linting) Type: Maintenance Updates and clean ups (but not wrong)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant