Skip to content

Commit

Permalink
Update workflows to Python 3.12
Browse files Browse the repository at this point in the history
3.13 could be tested as well by declaring `allow-prereleases: true`
with setup-python.
  • Loading branch information
mara004 committed May 18, 2024
1 parent d8a3128 commit a07372d
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/conda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
default: false
type: boolean
py_version:
default: '3.11'
default: '3.12'
type: string

# This is required for setup-miniconda / conda init
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
matrix:
# NOTE On GH actions, macOS <=13 is Intel, whereas macOS >=14 will be ARM64
os: ['ubuntu-latest', 'macos-13', 'macos-14', 'windows-latest']
py: ['3.8', '3.9', '3.10', '3.11']
py: ['3.8', '3.9', '3.10', '3.11', '3.12']

runs-on: ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh_pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'

- name: Checkout
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
default: false
type: boolean
py_version:
default: '3.10'
default: '3.12'
type: string
runner:
default: 'ubuntu-latest'
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
matrix:
# NOTE On GH actions, macOS <=13 is Intel, whereas macOS >=14 will be ARM64
os: ['ubuntu-latest', 'macos-13', 'macos-14', 'windows-latest']
py: ['3.8', '3.9', '3.10', '3.11']
py: ['3.8', '3.9', '3.10', '3.11', '3.12']
include:
- os: ubuntu-latest
wheel: dist/*manylinux_*_x86_64*.whl
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:
"pdfium_ver": "latest",
"test": "true",
"publish": "${{ inputs.publish }}",
"py_version": "3.11"
"py_version": "3.12"
}
cleanup:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
matrix:
# NOTE On GH actions, macOS <=13 is Intel, whereas macOS >=14 will be ARM64
os: ['ubuntu-latest', 'macos-13', 'macos-14', 'windows-latest']
py: ['3.8', '3.9', '3.10', '3.11']
py: ['3.8', '3.9', '3.10', '3.11', '3.12']

runs-on: ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
matrix:
# NOTE On GH actions, macOS <=13 is Intel, whereas macOS >=14 will be ARM64
os: ['ubuntu-latest', 'macos-13', 'macos-14', 'windows-latest']
py: ['3.8', '3.9', '3.10', '3.11']
py: ['3.8', '3.9', '3.10', '3.11', '3.12']

runs-on: ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_sourcebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'

- name: Check out pypdfium2 repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger_conda_raw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
"pdfium_ver": "latest",
"test": "true",
"publish": "true",
"py_version": "3.11"
"py_version": "3.12"
}
2 changes: 1 addition & 1 deletion .github/workflows/trigger_main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
"test": "true",
"publish": "true",
"conda": "true",
"py_version": "3.10",
"py_version": "3.12",
"runner": "ubuntu-latest"
}
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: '3.10'
python: '3.12'
jobs:
post_checkout:
# quick fix for git describe
Expand Down

0 comments on commit a07372d

Please sign in to comment.