Skip to content

Commit

Permalink
Merge pull request #2760 from dopplershift/python-3.11
Browse files Browse the repository at this point in the history
Add Python 3.11 to CI
  • Loading branch information
dcamron authored Nov 9, 2022
2 parents dac39f9 + af9e30c commit a2adb78
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docs-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
os: Windows
- python-version: '3.10'
os: Windows
- python-version: 3.11
os: macOS

steps:
# We check out only a limited depth and then pull tags to save time
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
- python-version: '3.10'
check-links: true
dep-versions: requirements.txt
- python-version: 3.11
check-links: false
dep-versions: requirements.txt
outputs:
doc-version: ${{ steps.build-docs.outputs.doc-version }}

Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/tests-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, '3.10']
python-version: [3.8, 3.9, '3.10', 3.11]
os: [macOS, Windows]

steps:
Expand All @@ -41,6 +41,10 @@ jobs:
- name: Get tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*

- name: Remove Dask from deps
if: ${{ matrix.python-version == '3.11' }}
run: cat ci/test_requirements.txt | grep -v dask > temp && mv temp ci/test_requirements.txt

- name: Install from Conda
uses: ./.github/actions/install-conda
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, '3.10']
python-version: [3.8, 3.9, '3.10', 3.11]
dep-versions: [requirements.txt]
no-extras: ['']
include:
- python-version: 3.8
dep-versions: Minimum
no-extras: 'No Extras'
- python-version: '3.10'
- python-version: 3.11
dep-versions: requirements.txt
no-extras: 'No Extras'

Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Atmospheric Science
Intended Audience :: Science/Research
Expand Down

0 comments on commit a2adb78

Please sign in to comment.