diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index 34ad8936a59..c42291b667f 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -23,12 +23,12 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10'] + python-version: ['3.11'] os: [ubuntu-latest, macOS-latest, windows-latest] # Is it a draft Pull Request (true or false)? isDraft: - ${{ github.event.pull_request.draft }} - # Only run one job (Ubuntu + Python 3.10) for draft PRs + # Only run one job (Ubuntu + Python 3.11) for draft PRs exclude: - os: macOS-latest isDraft: true diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index a6a50dfa554..4a980ee0565 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -28,24 +28,24 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.10'] + python-version: ['3.8', '3.11'] os: [ubuntu-latest, macOS-latest, windows-latest] # Is it a draft Pull Request (true or false)? isDraft: - ${{ github.event.pull_request.draft }} - # Only run two jobs (Ubuntu + Python 3.8/3.10) for draft PRs + # Only run two jobs (Ubuntu + Python 3.8/3.11) for draft PRs exclude: - os: macOS-latest isDraft: true - os: windows-latest isDraft: true - # Pair Python 3.8 with NumPy 1.21 and Python 3.10 with NumPy 1.24 - # Only install optional packages on Python 3.10/NumPy 1.24 + # Pair Python 3.8 with NumPy 1.21 and Python 3.11 with NumPy 1.24 + # Only install optional packages on Python 3.11/NumPy 1.24 include: - python-version: '3.8' numpy-version: '1.21' optional-packages: '' - - python-version: '3.10' + - python-version: '3.11' numpy-version: '1.24' optional-packages: 'geopandas ipython' timeout-minutes: 30 diff --git a/.github/workflows/ci_tests_dev.yaml b/.github/workflows/ci_tests_dev.yaml index 5492a63e16a..3025aae5089 100644 --- a/.github/workflows/ci_tests_dev.yaml +++ b/.github/workflows/ci_tests_dev.yaml @@ -27,7 +27,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10'] + python-version: ['3.11'] os: [ubuntu-22.04, macOS-12, windows-2022] gmt_git_ref: [master] timeout-minutes: 30 diff --git a/.github/workflows/format-command.yml b/.github/workflows/format-command.yml index 0525d2aadf7..f36dbbe1343 100644 --- a/.github/workflows/format-command.yml +++ b/.github/workflows/format-command.yml @@ -23,7 +23,7 @@ jobs: # Setup Python environment - uses: actions/setup-python@v4.3.1 with: - python-version: '3.10' + python-version: '3.11' # Install formatting tools - name: Install formatting tools diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index f298f5abaf9..43a554d5fca 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -31,7 +31,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4.3.1 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: python -m pip install build diff --git a/.github/workflows/style_checks.yaml b/.github/workflows/style_checks.yaml index dfc8d6de25f..3b6485f4e95 100644 --- a/.github/workflows/style_checks.yaml +++ b/.github/workflows/style_checks.yaml @@ -22,7 +22,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4.3.1 with: - python-version: '3.10' + python-version: '3.11' - name: Install packages run: | diff --git a/pyproject.toml b/pyproject.toml index 9349497cf98..efc9bc848c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,7 @@ classifiers = [ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "License :: OSI Approved :: BSD License", ] dependencies = [