Skip to content

Commit

Permalink
Fix Setuptools error
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush-shah committed Jul 29, 2024
1 parent c522f14 commit 35e6e0e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ingestion/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,15 @@ ENV PIP_QUIET=1
RUN pip install --upgrade pip

WORKDIR /home/airflow/openmetadata-airflow-apis
ENV PIP_CONSTRAINT=./constraints.txt
RUN pip install "."

WORKDIR /home/airflow/ingestion

# Argument to provide for Ingestion Dependencies to install. Defaults to all
ARG INGESTION_DEPENDENCY="all"
RUN pip install ".[${INGESTION_DEPENDENCY}]"
ENV PIP_CONSTRAINT=./constraints.txt
RUN pip install ".[mysql,airflow,bigquery,hive,oracle,postgres,redshift,doris,datalake-gcs,datalake-s3,qliksense,databricks]"

# Temporary workaround for https://github.com/open-metadata/OpenMetadata/issues/9593
RUN echo "Image built for $(uname -m)"
Expand Down
2 changes: 2 additions & 0 deletions ingestion/constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
setuptools<72

1 change: 1 addition & 0 deletions openmetadata-airflow-apis/constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
setuptools<72

0 comments on commit 35e6e0e

Please sign in to comment.