This is an automated email from the ASF dual-hosted git repository.
apitrou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 01c176bd53 GH-45059: [C++][CI] Fix test-build-cpp-fuzz failures
(#45060)
01c176bd53 is described below
commit 01c176bd533571fb5e530128ff5f8b0ed5ec4a2b
Author: Antoine Pitrou <[email protected]>
AuthorDate: Wed Dec 18 10:03:59 2024 +0100
GH-45059: [C++][CI] Fix test-build-cpp-fuzz failures (#45060)
### 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]>
---
dev/tasks/fuzz-tests/github.oss-fuzz.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dev/tasks/fuzz-tests/github.oss-fuzz.yml
b/dev/tasks/fuzz-tests/github.oss-fuzz.yml
index d7cf516266..e591499b0e 100644
--- a/dev/tasks/fuzz-tests/github.oss-fuzz.yml
+++ b/dev/tasks/fuzz-tests/github.oss-fuzz.yml
@@ -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: |