From 36a572b373d3a650a52307ea1463fb291b732a67 Mon Sep 17 00:00:00 2001 From: Oliver Sanders Date: Fri, 19 Nov 2021 13:20:30 +0000 Subject: [PATCH] py: support cPython 3.10 --- .github/workflows/test_fast.yml | 2 +- .github/workflows/test_functional.yml | 7 +++++++ .github/workflows/test_manylinux.yml | 2 +- setup.cfg | 1 + 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_fast.yml b/.github/workflows/test_fast.yml index ac9bfd9b201..97ac3bb0fc2 100644 --- a/.github/workflows/test_fast.yml +++ b/.github/workflows/test_fast.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false # Don't let a failed MacOS run stop the Ubuntu runs matrix: os: ['ubuntu-latest'] - python-version: ['3.7', '3.8', '3.9'] + python-version: ['3.7', '3.8', '3.9', '3.10'] include: - os: 'macos-latest' python-version: '3.7' diff --git a/.github/workflows/test_functional.yml b/.github/workflows/test_functional.yml index fc21a7d4855..1d01a420e49 100644 --- a/.github/workflows/test_functional.yml +++ b/.github/workflows/test_functional.yml @@ -43,6 +43,13 @@ jobs: platform: ['_local_background* _local_at*'] # NOTE: includes must define ALL of the matrix values include: + # latest python + - name: 'py-3.10' + os: 'ubuntu-latest' + python-version: '3.10' + test-base: 'tests/f' + chunk: '1/4' + platform: '_local_background*' # tests/k - name: 'flaky' os: 'ubuntu-latest' diff --git a/.github/workflows/test_manylinux.yml b/.github/workflows/test_manylinux.yml index bffe37465be..3a22636f59e 100644 --- a/.github/workflows/test_manylinux.yml +++ b/.github/workflows/test_manylinux.yml @@ -34,7 +34,7 @@ jobs: matrix: manylinux: ['1'] os: ['ubuntu-18.04'] # run on the oldest linux we have access to - python-version: ['3.7', '3.8', '3.9'] + python-version: ['3.7', '3.8', '3.9', '3.10'] steps: - name: Checkout diff --git a/setup.cfg b/setup.cfg index 7cebd39173d..2678bfe5f0f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -50,6 +50,7 @@ classifiers = Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 Programming Language :: Python :: 3 :: Only Programming Language :: Python :: Implementation :: CPython Topic :: Scientific/Engineering :: Atmospheric Science