pyyaml: fix build (#10785)

Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
DavidKorczynski 2023-08-03 00:21:06 +01:00 committed by GitHub
parent 6e9dea35ae
commit 97a79546ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,7 @@
FROM gcr.io/oss-fuzz-base/base-builder-python
RUN git clone https://github.com/yaml/pyyaml
RUN python3 -m pip install --upgrade pip
WORKDIR $SRC
COPY build.sh $SRC/
COPY fuzz_* $SRC/

View File

@ -15,7 +15,8 @@
#
################################################################################
cd pyyaml
pip3 install .
echo 'Cython < 3.0' > /tmp/constraint.txt
PIP_CONSTRAINT=/tmp/constraint.txt pip3 install .
# Build fuzzers in $OUT.
for fuzzer in $(find $SRC -name 'fuzz_*.py'); do