From b2494ff2bb4b09860e64f5c64fa7e50699c096f6 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 b7c6198c129..b446ab2369a 100644 --- a/.github/workflows/test_fast.yml +++ b/.github/workflows/test_fast.yml @@ -13,7 +13,7 @@ jobs: strategy: 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 9b7ab044e38..bb2cb94036f 100644 --- a/.github/workflows/test_functional.yml +++ b/.github/workflows/test_functional.yml @@ -39,6 +39,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 69c63cd7c07..c8dcc929a8b 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 6c66c5817ea..a11c3951cdb 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