Skip to content

Commit a2adb78

Browse files
authored
Merge pull request Unidata#2760 from dopplershift/python-3.11
Add Python 3.11 to CI
2 parents dac39f9 + af9e30c commit a2adb78

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

.github/workflows/docs-conda.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
os: Windows
2929
- python-version: '3.10'
3030
os: Windows
31+
- python-version: 3.11
32+
os: macOS
3133

3234
steps:
3335
# We check out only a limited depth and then pull tags to save time

.github/workflows/docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
- python-version: '3.10'
3838
check-links: true
3939
dep-versions: requirements.txt
40+
- python-version: 3.11
41+
check-links: false
42+
dep-versions: requirements.txt
4043
outputs:
4144
doc-version: ${{ steps.build-docs.outputs.doc-version }}
4245

.github/workflows/tests-conda.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
python-version: [3.8, 3.9, '3.10']
31+
python-version: [3.8, 3.9, '3.10', 3.11]
3232
os: [macOS, Windows]
3333

3434
steps:
@@ -41,6 +41,10 @@ jobs:
4141
- name: Get tags
4242
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
4343

44+
- name: Remove Dask from deps
45+
if: ${{ matrix.python-version == '3.11' }}
46+
run: cat ci/test_requirements.txt | grep -v dask > temp && mv temp ci/test_requirements.txt
47+
4448
- name: Install from Conda
4549
uses: ./.github/actions/install-conda
4650
with:

.github/workflows/tests-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
python-version: [3.8, 3.9, '3.10']
28+
python-version: [3.8, 3.9, '3.10', 3.11]
2929
dep-versions: [requirements.txt]
3030
no-extras: ['']
3131
include:
3232
- python-version: 3.8
3333
dep-versions: Minimum
3434
no-extras: 'No Extras'
35-
- python-version: '3.10'
35+
- python-version: 3.11
3636
dep-versions: requirements.txt
3737
no-extras: 'No Extras'
3838

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ classifiers =
1818
Programming Language :: Python :: 3.8
1919
Programming Language :: Python :: 3.9
2020
Programming Language :: Python :: 3.10
21+
Programming Language :: Python :: 3.11
2122
Topic :: Scientific/Engineering
2223
Topic :: Scientific/Engineering :: Atmospheric Science
2324
Intended Audience :: Science/Research

0 commit comments

Comments
 (0)