Skip to content

Commit

Permalink
CI: bump python setup action
Browse files Browse the repository at this point in the history
  • Loading branch information
cbm755 authored and julian-smith-artifex-com committed Jul 4, 2024
1 parent 8a45f39 commit a83732b
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ jobs:
#
- name: Install Python 3.12 x32 on Windows.
if: runner.os == 'Windows'
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.12'
architecture: x86
- name: Install Python 3.12 x64 on Windows.
if: runner.os == 'Windows'
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.12'

Expand All @@ -115,7 +115,7 @@ jobs:
# `python-config3` return settings for Python-3.12, instead of for
# whatever Python is being used by cibuildwheel.
#
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5

# On Linux, get qemu so we can build for aarch64.
#
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:

- uses: actions/checkout@v4
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5

- name: test_mupdf-master-branch
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_mupdf-master-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:

- uses: actions/checkout@v4
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5

- name: test_mupdf-master-branch
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_mupdf-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:

- uses: actions/checkout@v4
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5

- name: test_mupdf-release-branch
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_pyodide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_quick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:

- uses: actions/checkout@v4
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5

- name: test_quick

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_sysinstall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
# pymupdf files being installed into .../python3.11/site-packages and
# .../python3.10/site-packages, and tests all fail to import pymupdf.
#
#- uses: actions/setup-python@v2
#- uses: actions/setup-python@v5
#with:
# # 3.12 doesn't have setuptools. As of 2024-01-03, MuPDF build requires setuptools before it
# # sees `--venv` and defers to a venv, so we currently have to force use of python 3.11.
Expand Down
2 changes: 1 addition & 1 deletion scripts/sysinstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
Note that we run some commands with sudo; it's important that these use the
same python as non-sudo, otherwise things can be build and installed for
different python versions. For example when we are run from a github action, it
should not do `- uses: actions/setup-python@v2` but instead use whatever system
should not do `- uses: actions/setup-python@v5` but instead use whatever system
python is already defined.
Args:
Expand Down

0 comments on commit a83732b

Please sign in to comment.