Skip to content

Commit 3f6644e

Browse files
seismanweiji14
andauthored
Add support for Python 3.11 (#2172)
Co-authored-by: Wei Ji <[email protected]>
1 parent b3dcc68 commit 3f6644e

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed

.github/workflows/ci_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
python-version: ['3.10']
26+
python-version: ['3.11']
2727
os: [ubuntu-latest, macOS-latest, windows-latest]
2828
# Is it a draft Pull Request (true or false)?
2929
isDraft:
3030
- ${{ github.event.pull_request.draft }}
31-
# Only run one job (Ubuntu + Python 3.10) for draft PRs
31+
# Only run one job (Ubuntu + Python 3.11) for draft PRs
3232
exclude:
3333
- os: macOS-latest
3434
isDraft: true

.github/workflows/ci_tests.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,24 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
python-version: ['3.8', '3.10']
31+
python-version: ['3.8', '3.11']
3232
os: [ubuntu-latest, macOS-latest, windows-latest]
3333
# Is it a draft Pull Request (true or false)?
3434
isDraft:
3535
- ${{ github.event.pull_request.draft }}
36-
# Only run two jobs (Ubuntu + Python 3.8/3.10) for draft PRs
36+
# Only run two jobs (Ubuntu + Python 3.8/3.11) for draft PRs
3737
exclude:
3838
- os: macOS-latest
3939
isDraft: true
4040
- os: windows-latest
4141
isDraft: true
42-
# Pair Python 3.8 with NumPy 1.21 and Python 3.10 with NumPy 1.24
43-
# Only install optional packages on Python 3.10/NumPy 1.24
42+
# Pair Python 3.8 with NumPy 1.21 and Python 3.11 with NumPy 1.24
43+
# Only install optional packages on Python 3.11/NumPy 1.24
4444
include:
4545
- python-version: '3.8'
4646
numpy-version: '1.21'
4747
optional-packages: ''
48-
- python-version: '3.10'
48+
- python-version: '3.11'
4949
numpy-version: '1.24'
5050
optional-packages: 'geopandas ipython'
5151
timeout-minutes: 30

.github/workflows/ci_tests_dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
python-version: ['3.10']
30+
python-version: ['3.11']
3131
os: [ubuntu-22.04, macOS-12, windows-2022]
3232
gmt_git_ref: [master]
3333
timeout-minutes: 30

.github/workflows/format-command.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# Setup Python environment
2424
- uses: actions/[email protected]
2525
with:
26-
python-version: '3.10'
26+
python-version: '3.11'
2727

2828
# Install formatting tools
2929
- name: Install formatting tools

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up Python
3232
uses: actions/[email protected]
3333
with:
34-
python-version: '3.10'
34+
python-version: '3.11'
3535

3636
- name: Install dependencies
3737
run: python -m pip install build

.github/workflows/style_checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Python
2323
uses: actions/[email protected]
2424
with:
25-
python-version: '3.10'
25+
python-version: '3.11'
2626

2727
- name: Install packages
2828
run: |

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ classifiers = [
2020
"Programming Language :: Python :: 3.8",
2121
"Programming Language :: Python :: 3.9",
2222
"Programming Language :: Python :: 3.10",
23+
"Programming Language :: Python :: 3.11",
2324
"License :: OSI Approved :: BSD License",
2425
]
2526
dependencies = [

0 commit comments

Comments
 (0)