-
Notifications
You must be signed in to change notification settings - Fork 415
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
Support Python 3.12 #3223
Merged
Merged
Support Python 3.12 #3223
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dopplershift
added
Area: Infrastructure
Pertains to project infrastructure (e.g. CI, linting)
Type: Enhancement
Enhancement to existing functionality
labels
Oct 12, 2023
I fully expect this to fail at the moment due to:
|
Looks like we also need some 3.12 wheels (for Linux) for netcdf4-python. |
dopplershift
force-pushed
the
support-3.12
branch
10 times, most recently
from
October 30, 2023 23:03
1e7b014
to
3dd466c
Compare
dopplershift
force-pushed
the
support-3.12
branch
from
October 31, 2023 22:12
5dd44da
to
28de475
Compare
dopplershift
added
the
hacktoberfest-accepted
PRs accepted for contributions in hacktoberfest
label
Oct 31, 2023
In order to avoid bloating the Conda test matrix, cut down the "middle" versions to split across Windows/MacOS. Also bump anything using 3.11 for 'latest' to now use 3.12.
Python 3.12 broke this and we can't subclass Struct and modify the __init__ method. Get around this by switching to use composition instead of inheritance.
Apparently this isn't the default behavior. Otherwise, the only way to know is to notice slight coverage drops due to missing reports.
These are supposed to be the "permalinks", so let's use those. This is attempting to address some failures on linkchecking.
This helps with memory usage when running generating all these plots.
While we were already using the right dependencies, this didn't do any of the extra steps (e.g. downloading maps).
Due to the extra 10 minutes required, avoid running as part of PR CI jobs.
For now just continue using Python 3.11 for our release docs and avoid running the generation on 3.12. I'm assuming right now that this problem will go away when we cease building Cartopy ourselves.
dopplershift
force-pushed
the
support-3.12
branch
from
November 1, 2023 21:11
28de475
to
1256b14
Compare
These are currently triggering certificate errors on GitHub.
@dcamron This is ready for review |
dcamron
approved these changes
Nov 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: Infrastructure
Pertains to project infrastructure (e.g. CI, linting)
hacktoberfest-accepted
PRs accepted for contributions in hacktoberfest
Type: Enhancement
Enhancement to existing functionality
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description Of Changes
Struct
(GH-78724: Initialize struct.Struct in __new__ python/cpython#94532)Checklist