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

Support Python 3.12 #3223

Merged
merged 14 commits into from
Nov 6, 2023
Merged

Support Python 3.12 #3223

merged 14 commits into from
Nov 6, 2023

Commits on Nov 1, 2023

  1. CI: Add 3.12 to CI jobs

    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.
    dopplershift committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    734f8a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    177edbd View commit details
    Browse the repository at this point in the history
  3. MNT: Avoid subclassing Struct

    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.
    dopplershift committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    16d0150 View commit details
    Browse the repository at this point in the history
  4. CI: Make sure the job fails if coverage upload fails

    Apparently this isn't the default behavior. Otherwise, the only way to
    know is to notice slight coverage drops due to missing reports.
    dopplershift committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    ac62213 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ef55628 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    215a871 View commit details
    Browse the repository at this point in the history
  7. DOC: Update URLs to WMO reports

    These are supposed to be the "permalinks", so let's use those. This is
    attempting to address some failures on linkchecking.
    dopplershift committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    bbd892e View commit details
    Browse the repository at this point in the history
  8. DOC: Make sure everything is cleared between area plots

    This helps with memory usage when running generating all these plots.
    dopplershift committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    93043c7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c420586 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    36cfffe View commit details
    Browse the repository at this point in the history
  11. CI: Specify that doc builds need extras

    While we were already using the right dependencies, this didn't do any
    of the extra steps (e.g. downloading maps).
    dopplershift committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    e9ce6a3 View commit details
    Browse the repository at this point in the history
  12. CI: Reduce load from generating all the maps

    Due to the extra 10 minutes required, avoid running as part of PR CI
    jobs.
    dopplershift committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    0c59722 View commit details
    Browse the repository at this point in the history
  13. CI: Work around problems with generating maps on 3.12

    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 committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    1256b14 View commit details
    Browse the repository at this point in the history
  14. CI: Skip WMO URLs on linkchecker

    These are currently triggering certificate errors on GitHub.
    dopplershift committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    84ccdb5 View commit details
    Browse the repository at this point in the history