Skip to content

Commit

Permalink
Add Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Sep 29, 2024
1 parent b56a9db commit 58c5c85
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
python-version: ["3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["macOS-latest"]
python-version: ["3.11"]
os: ["macOS-latest"]
python-version: ["3.12"]

steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version}}
- name: Install GDAL
run: |
brew install gdal
- name: Test GDAL installation
run: |
gdalinfo --version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --no-cache-dir Cython
pip install -r requirements.txt
pip install .
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version}}
- name: Install GDAL
run: |
brew install gdal
- name: Test GDAL installation
run: |
gdalinfo --version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --no-cache-dir Cython
pip install -r requirements.txt
pip install .
5 changes: 3 additions & 2 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ pull_request_rules:
- check-success=ubuntu-latest (3.9)
- check-success=ubuntu-latest (3.10)
- check-success=ubuntu-latest (3.11)
- check-success=macOS-latest (3.11)
- check-success=ubuntu-latest (3.12)
- check-success=macOS-latest (3.12)
- check-success=test-windows
- check-success=test-docs-build
- check-success=test-linux-installation
- check-success=test-linux-installation (3.12)
# Approval by reviewer at least one maintainer
# - "#approved-reviews-by>=1"
- base=main
Expand Down

0 comments on commit 58c5c85

Please sign in to comment.