Skip to content

Commit

Permalink
[airflow] Fix Build Caused by Missing Dependencies
Browse files Browse the repository at this point in the history
Also updates hardcoded references to Python 3.8 installation paths
to point to the Python 3.10 equivalents instead.
  • Loading branch information
DaveLak committed Jun 4, 2024
1 parent 417bbf5 commit 60a0368
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion projects/airflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
FROM gcr.io/oss-fuzz-base/base-builder-python

RUN apt-get install sqlite3
RUN pip3 install --upgrade pip
RUN python3 -m pip install colorlog cron-descriptor 'pyinstaller==6.7.0'

RUN git clone https://github.com/apache/airflow
ENV AIRFLOW_HOME=$SRC/airflow/
Expand Down
4 changes: 1 addition & 3 deletions projects/airflow/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
################################################################################

# Build and install project (using current CFLAGS, CXXFLAGS).
pip3 install --upgrade pip
pip3 install colorlog
pip3 install .

# Build fuzzers in $OUT.
cd $SRC
compile_python_fuzzer dag_fuzz.py --add-data airflow:airflow --add-data airflow/airflow:airflow --add-data /usr/local/lib/python3.8/site-packages/cron_descriptor:cron_descriptor
compile_python_fuzzer dag_fuzz.py --add-data airflow:airflow --add-data airflow/airflow:airflow --add-data /usr/local/lib/python3.10/site-packages/cron_descriptor:cron_descriptor

0 comments on commit 60a0368

Please sign in to comment.