mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-26 15:10:05 +00:00
This commit is contained in:
parent
c522f14178
commit
1962ffad52
@ -76,13 +76,13 @@ ENV PIP_QUIET=1
|
||||
RUN pip install --upgrade pip
|
||||
|
||||
WORKDIR /home/airflow/openmetadata-airflow-apis
|
||||
RUN pip install "."
|
||||
RUN PIP_CONSTRAINT=/home/airflow/openmetadata-airflow-apis/constraints.txt 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}]"
|
||||
RUN PIP_CONSTRAINT=/home/airflow/ingestion/constraints.txt pip install ".[${INGESTION_DEPENDENCY}]"
|
||||
|
||||
# Temporary workaround for https://github.com/open-metadata/OpenMetadata/issues/9593
|
||||
RUN echo "Image built for $(uname -m)"
|
||||
|
||||
@ -11,23 +11,23 @@ endif
|
||||
|
||||
.PHONY: install
|
||||
install: ## Install the ingestion module to the current environment
|
||||
python -m pip install $(INGESTION_DIR)/
|
||||
PIP_CONSTRAINT=$(INGESTION_DIR)/constraints.txt python -m pip install $(INGESTION_DIR)/
|
||||
|
||||
.PHONY: install_dev
|
||||
install_dev: ## Install the ingestion module with dev dependencies
|
||||
python -m pip install "$(INGESTION_DIR)[dev]/"
|
||||
PIP_CONSTRAINT=$(INGESTION_DIR)/constraints.txt python -m pip install "$(INGESTION_DIR)[dev]/"
|
||||
|
||||
.PHONY: install_test
|
||||
install_test: ## Install the ingestion module with test dependencies
|
||||
python -m pip install "$(INGESTION_DIR)[test]/"
|
||||
PIP_CONSTRAINT=$(INGESTION_DIR)/constraints.txt python -m pip install "$(INGESTION_DIR)[test]/"
|
||||
|
||||
.PHONY: install_all
|
||||
install_all: ## Install the ingestion module with all dependencies
|
||||
python -m pip install "$(INGESTION_DIR)[all]/"
|
||||
PIP_CONSTRAINT=$(INGESTION_DIR)/constraints.txt python -m pip install "$(INGESTION_DIR)[all]/"
|
||||
|
||||
.PHONY: install_apis
|
||||
install_apis: ## Install the REST APIs module to the current environment
|
||||
python -m pip install $(ROOT_DIR)/openmetadata-airflow-apis/ setuptools==69.0.2
|
||||
PIP_CONSTRAINT=$(ROOT_DIR)/openmetadata-airflow-apis/constraints.txt python -m pip install $(ROOT_DIR)/openmetadata-airflow-apis/ setuptools==69.0.2
|
||||
|
||||
.PHONY: lint
|
||||
lint: ## Run pylint on the Python sources to analyze the codebase
|
||||
|
||||
1
ingestion/constraints.txt
Normal file
1
ingestion/constraints.txt
Normal file
@ -0,0 +1 @@
|
||||
setuptools<72
|
||||
1
openmetadata-airflow-apis/constraints.txt
Normal file
1
openmetadata-airflow-apis/constraints.txt
Normal file
@ -0,0 +1 @@
|
||||
setuptools<72
|
||||
Loading…
x
Reference in New Issue
Block a user