Skip to content

Commit

Permalink
feat(ingest): add python deps for apk (datahub-project#11188)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored Sep 3, 2024
1 parent eebb28a commit 96b075d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/datahub-ingestion-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN apt-get update && apt-get upgrade -y \
ldap-utils \
unixodbc \
libodbc2 \
&& python -m pip install --no-cache --upgrade pip uv>=0.1.10 wheel setuptools \
&& python -m pip install --no-cache --upgrade pip 'uv>=0.1.10' wheel setuptools \
&& apt-get clean \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/

Expand Down
8 changes: 7 additions & 1 deletion metadata-ingestion/scripts/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ else
xz-devel \
libxml2-devel \
libxslt-devel \
krb5-devel
krb5-devel
elif command -v apk; then
$sudo_cmd apk add \
build-base \
openldap-dev \
xz-dev \
krb5-dev
else
$sudo_cmd apt-get update && $sudo_cmd apt-get install -y \
python3-ldap \
Expand Down
2 changes: 1 addition & 1 deletion smoke-test/smoke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ else

python3 -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip uv>=0.1.10 wheel setuptools
python -m pip install --upgrade pip 'uv>=0.1.10' wheel setuptools
uv pip install -r requirements.txt
fi

Expand Down

0 comments on commit 96b075d

Please sign in to comment.