fix(docker): cherry-pick #28519 (restore npm to non_root builder) onto patch/v1.84.1 (#28973)

* fix(docker): restore npm to non_root builder image (#28519)

The non_root builder stage installs `nodejs` but not `npm`. Without `npm`
on PATH, prisma-python falls back to downloading a Node runtime via
nodeenv from nodejs.org, and that downloaded binary fails to load
`libatomic.so.1` — breaking `prisma generate` and the image build.

`npm` was dropped from this apk list in ca52e346b0. Restoring it lets
prisma-python use the system Node + npm, matching docker/Dockerfile
which already installs `npm` for the same reason.

* bump: version 1.84.2 → 1.84.3

* chore: uv lock after version bump 1.84.2 → 1.84.3
This commit is contained in:
yuneng-jiang 2026-05-27 09:46:39 -07:00 committed by GitHub
parent 5560f35279
commit aab7ff639e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 5 deletions

View file

@ -24,7 +24,8 @@ RUN for i in 1 2 3; do \
curl \
openssl \
libsndfile \
nodejs && break || sleep 5; \
nodejs \
npm && break || sleep 5; \
done
ENV UV_PROJECT_ENVIRONMENT=/app/.venv \

View file

@ -1,6 +1,6 @@
[project]
name = "litellm"
version = "1.84.2"
version = "1.84.3"
description = "Library to easily interface with LLM API providers"
readme = "README.md"
requires-python = ">=3.10, <3.14"
@ -242,7 +242,7 @@ source-exclude = [
profile = "black"
[tool.commitizen]
version = "1.84.2"
version = "1.84.3"
version_files = [
"pyproject.toml:^version",
]

4
uv.lock generated
View file

@ -9,7 +9,7 @@ resolution-markers = [
]
[options]
exclude-newer = "2026-05-24T07:22:56.779644Z"
exclude-newer = "2026-05-24T07:50:00.208911Z"
exclude-newer-span = "P3D"
[manifest]
@ -3083,7 +3083,7 @@ wheels = [
[[package]]
name = "litellm"
version = "1.84.2"
version = "1.84.3"
source = { editable = "." }
dependencies = [
{ name = "aiohttp" },