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

Python 3.13 Support #3682

Merged
merged 5 commits into from
Nov 12, 2024
Merged

Python 3.13 Support #3682

merged 5 commits into from
Nov 12, 2024

Conversation

dopplershift
Copy link
Member

@dopplershift dopplershift commented Nov 7, 2024

Description Of Changes

Officially support Python 3.13:

  • Add CI jobs for 3.13
  • Update package metadata
  • Bump Pint to 0.24.4
  • Fix up our dynamically generated docstrings to be consistent with the indentation of the rest of the docstring, since 3.13 now strips leading whitespace from docstrings.

@dopplershift dopplershift added the Type: Enhancement Enhancement to existing functionality label Nov 7, 2024
@dopplershift dopplershift added this to the 1.7.0 milestone Nov 7, 2024
@dopplershift dopplershift requested a review from a team as a code owner November 7, 2024 21:00
@dopplershift dopplershift requested review from dcamron and removed request for a team November 7, 2024 21:00
Needed for Python 3.13.
Python 3.13 started stripping leading whitespace in docstrings, so we
need to be more careful to match the indentation of the rest of the
docstring. Failing to do so results in warnings from docutils when
building the docs.
This avoids potential problems with building on Windows with
environments that span multiple drives, like on GitHub Actions.
@dopplershift
Copy link
Member Author

Nightly checks failing is from matplotlib 3.10.0rc1 and doesn't differ between 3.12 and 3.13. We'll tackle that separately in #3676.

@dopplershift
Copy link
Member Author

@dcamron This seems to finally be ready.

@dcamron dcamron merged commit 22bfb4f into Unidata:main Nov 12, 2024
37 of 38 checks passed
@dopplershift dopplershift deleted the py313 branch November 12, 2024 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Enhancement to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants