Skip to content

Commit

Permalink
GH-45059: [C++][CI] Fix test-build-cpp-fuzz failures (#45060)
Browse files Browse the repository at this point in the history
### Rationale for this change

The CI requirements file in the OSS-Fuzz repo pins an old PyYAML version that fails installing on Python 3.12:
https://github.com/google/oss-fuzz/blob/4161b2267f39e32f32e122501b7b82f9bc28caea/infra/ci/requirements.txt

### What changes are included in this PR?

Use a Python version compatible with the requirements.

### Are these changes tested?

Yes, by definition.

### Are there any user-facing changes?

No.
* GitHub Issue: #45059

Authored-by: Antoine Pitrou <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
  • Loading branch information
pitrou authored Dec 18, 2024
1 parent f93004f commit 01c176b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dev/tasks/fuzz-tests/github.oss-fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
run: |
git clone --depth=50 https://github.com/google/oss-fuzz.git
- uses: actions/setup-python@v5
# Use a Python version that's compatible with the pinned requirements
# for dependencies below.
with:
python-version: '3.11'

- name: Install dependencies
working-directory: oss-fuzz
run: |
Expand Down

0 comments on commit 01c176b

Please sign in to comment.