-
Notifications
You must be signed in to change notification settings - Fork 16k
Open
Labels
install:dockerInstallation - docker containerInstallation - docker container
Description
Bug description
Description:
When trying to build Superset from the 5.0.0 tag using Docker Compose, the build fails due to a missing dependency uv
.
Steps to Reproduce:
- Clone the repo and checkout the 5.0.0 tag:
git clone https://github.com/apache/superset.git cd superset/ git fetch origin --tags git checkout -b dev 5.0.0
- Run:
docker compose up --build
Observed Behavior:
The build fails with the following error:
ERROR: Could not find a version that satisfies the requirement uv (from versions: none)
ERROR: No matching distribution found for uv
Expected Behavior:
The Docker image should build successfully without dependency resolution errors.
Environment:
- Superset version: 5.0.0 (tag)
- Docker version 28.3.2, build 578ccf6
- OS: Ubuntu 24.04
Additional Context:
It seems the uv
package is not available on PyPI, which causes the build to fail. Possibly a missing or misconfigured dependency in requirements
or constraints
.
Screenshots/recordings
No response
Superset version
5.0.0
Python version
3.11
Node version
18 or greater
Browser
Not applicable
Additional context
docker compose up --build
[+] Building 292.8s (24/70)
=> [internal] load local bake definitions 0.0s
=> => reading from stdin 3.24kB 0.0s
=> [superset-websocket internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.20kB 0.0s
=> [superset-worker-beat internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 9.69kB 0.0s
=> [superset-websocket internal] load metadata for docker.io/library/node:16-alpine 0.0s
=> [superset-websocket internal] load .dockerignore 0.0s
=> => transferring context: 842B 0.0s
=> [superset-worker internal] load metadata for docker.io/library/python:3.11.13-slim-bookworm 0.0s
=> [superset-node internal] load metadata for docker.io/library/node:20-bookworm-slim 0.0s
=> [superset-node internal] load .dockerignore 0.0s
=> => transferring context: 1.28kB 0.0s
=> [superset-websocket internal] load build context 0.0s
=> => transferring context: 1.77kB 0.0s
=> [superset-websocket build 1/4] FROM docker.io/library/node:16-alpine 0.0s
=> [superset-worker superset-node-ci 1/8] FROM docker.io/library/node:20-bookworm-slim 0.0s
=> [superset-node internal] load build context 0.2s
=> => transferring context: 398.08kB 0.1s
=> [superset-worker-beat] importing cache manifest from apache/superset-cache:3.10-slim-bookworm 1.4s
=> => inferred cache manifest type: application/vnd.oci.image.manifest.v1+json 0.0s
=> [superset-worker internal] load build context 0.4s
=> => transferring context: 487.42kB 0.3s
=> [superset-worker python-base 1/6] FROM docker.io/library/python:3.11.13-slim-bookworm 0.0s
=> CACHED [superset-worker superset-node-ci 2/8] COPY docker/ /app/docker/ 0.0s
=> CACHED [superset-websocket build 2/4] WORKDIR /home/superset-websocket 0.0s
=> CACHED [superset-websocket build 3/4] COPY . ./ 0.0s
=> CANCELED [superset-websocket build 4/4] RUN npm ci && npm run build 291.1s
=> CANCELED [superset-node superset-node-ci 3/8] RUN /app/docker/apt-install.sh build-essential python3 zstd 291.1s
=> CACHED [superset-worker python-base 2/6] RUN mkdir -p /app/superset_home 0.0s
=> CACHED [superset-worker python-base 3/6] RUN useradd --user-group -d /app/superset_home -m --no-log-init --shell /bin/bash superset && chmod -R 1777 /app 0.0s
=> CACHED [superset python-base 4/6] COPY --chmod=755 docker/*.sh /app/docker/ 0.0s
=> ERROR [superset-worker python-base 5/6] RUN pip install --no-cache-dir --upgrade uv 290.6s
------
> [superset-worker python-base 5/6] RUN pip install --no-cache-dir --upgrade uv:
42.75 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7276bd135990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/uv/
83.29 WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7276bd136250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/uv/
124.3 WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7276bd136990>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/uv/
166.4 WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7276bd137150>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/uv/
210.4 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7276bd137cd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/uv/
250.5 ERROR: Could not find a version that satisfies the requirement uv (from versions: none)
250.5 ERROR: No matching distribution found for uv
------
Dockerfile:117
--------------------
115 | COPY --chmod=755 docker/*.sh /app/docker/
116 |
117 | >>> RUN pip install --no-cache-dir --upgrade uv
118 |
119 | # Using uv as it's faster/simpler than pip
--------------------
target superset-worker-beat: failed to solve: process "/bin/sh -c pip install --no-cache-dir --upgrade uv" did not complete successfully: exit code: 1
Checklist
- I have searched Superset docs and Slack and didn't find a solution to my problem.
- I have searched the GitHub issue tracker and didn't find a similar bug report.
- I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
Metadata
Metadata
Assignees
Labels
install:dockerInstallation - docker containerInstallation - docker container