MLX API build is broken
ckadner opened this issue · 0 comments
ckadner commented
Describe the bug
The Docker image for the MLX API is not building currently:
https://github.com/machine-learning-exchange/mlx/runs/5219524273?check_suite_focus=true#step:7:967
#10 108.7 ERROR: Cannot install -r requirements.txt (line 11), -r requirements.txt (line 4), elyra-server and kfp-tekton because these package versions have conflicting dependencies.
#10 108.7
#10 108.7 The conflict is caused by:
#10 108.7 elyra-server 3.2.1 depends on click<8 and >=7.1.1
#10 108.7 flask 1.1.4 depends on click<8.0 and >=5.1
#10 108.7 kfp 1.7.1 depends on click<8 and >=7.1.1
#10 108.7 papermill 2.1.3 depends on click
#10 108.7 black 22.1.0 depends on click>=8.0.0
#10 108.7
#10 108.7 To fix this you could try to:
#10 108.7 1. loosen the range of package versions you've specified
#10 108.7 2. remove package versions to allow pip attempt to solve the dependency conflict
#10 108.7
#10 108.7 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
#10 ERROR: process "/bin/sh -c apk add --update --virtual build-dependencies pkgconfig openssl-dev libffi-dev musl-dev make gcc g++ curl cargo && apk add --update git && curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x kubectl && mv kubectl /usr/local/bin && pip install --upgrade pip && pip install -r requirements.txt && apk del --purge build-dependencies && rm -rf /var/cache/apk/* /root/.cache /tmp/*" did not complete successfully: exit code: 1
------
> [5/8] RUN apk add --update --virtual build-dependencies pkgconfig openssl-dev libffi-dev musl-dev make gcc g++ curl cargo && apk add --update git && curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x kubectl && mv kubectl /usr/local/bin && pip install --upgrade pip && pip install -r requirements.txt && apk del --purge build-dependencies && rm -rf /var/cache/apk/* /root/.cache /tmp/*:
#10 108.7 flask 1.1.4 depends on click<8.0 and >=5.1
#10 108.7 kfp 1.7.1 depends on click<8 and >=7.1.1
#10 108.7 papermill 2.1.3 depends on click
#10 108.7 black 22.1.0 depends on click>=8.0.0
#10 108.7
#10 108.7 To fix this you could try to:
#10 108.7 1. loosen the range of package versions you've specified
#10 108.7 2. remove package versions to allow pip attempt to solve the dependency conflict
#10 108.7
#10 108.7 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
------
Dockerfile:12
--------------------
11 |
12 | >>> RUN apk add --update --virtual build-dependencies \
13 | >>> pkgconfig \
14 | >>> openssl-dev \
15 | >>> libffi-dev \
16 | >>> musl-dev \
17 | >>> make \
18 | >>> gcc \
19 | >>> g++ \
20 | >>> curl \
21 | >>> cargo \
22 | >>> && apk add --update git \
23 | >>> && curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl \
24 | >>> && chmod +x kubectl \
25 | >>> && mv kubectl /usr/local/bin \
26 | >>> && pip install --upgrade pip \
27 | >>> && pip install -r requirements.txt \
28 | >>> && apk del --purge build-dependencies \
29 | >>> && rm -rf \
30 | >>> /var/cache/apk/* \
31 | >>> /root/.cache \
32 | >>> /tmp/*
33 |
--------------------
error: failed to solve: process "/bin/sh -c apk add --update --virtual build-dependencies pkgconfig openssl-dev libffi-dev musl-dev make gcc g++ curl cargo && apk add --update git && curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x kubectl && mv kubectl /usr/local/bin && pip install --upgrade pip && pip install -r requirements.txt && apk del --purge build-dependencies && rm -rf /var/cache/apk/* /root/.cache /tmp/*" did not complete successfully: exit code: 1
Error: buildx failed with: error: failed to solve: process "/bin/sh -c apk add --update --virtual build-dependencies pkgconfig openssl-dev libffi-dev musl-dev make gcc g++ curl cargo && apk add --update git && curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x kubectl && mv kubectl /usr/local/bin && pip install --upgrade pip && pip install -r requirements.txt && apk del --purge build-dependencies && rm -rf /var/cache/apk/* /root/.cache /tmp/*" did not complete successfully: exit code: 1