fix: update playwright to >=1.44.0 for arm64 support

- Update playwright dependency from >=1.40.0 to >=1.44.0 in pyproject.toml
- Update Dockerfile to install required system dependencies for arm64
- Add fallback for playwright install if --with-deps fails on arm64
This commit is contained in:
Vibe Nuage Agent
2026-06-06 10:56:42 +00:00
parent a467bc1e22
commit 3633cc9f4e
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -23,8 +23,10 @@ RUN apt-get install -y --no-install-recommends $PYTHON_DEP curl && \
rm -rf /var/lib/apt/lists/*
# Install Playwright and WebKit dependencies
RUN pip3 install --break-system-packages playwright && \
playwright install --with-deps webkit
RUN pip3 install --break-system-packages playwright>=1.44.0 && \
apt-get install -y --no-install-recommends libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2 && \
rm -rf /var/lib/apt/lists/* && \
playwright install --with-deps webkit || playwright install webkit
COPY /docker_files/init.sh /init.sh
CMD /init.sh
+1 -1
View File
@@ -28,7 +28,7 @@ argparse = "^1.4.0"
geojson = "^2.5.0"
reverse-geocode = "^1.4.1"
androguard = "^4.1.2"
playwright = ">=1.40.0"
playwright = ">=1.44.0"
pycryptodomex = "3.23.0" # Pin version as they introduce breaking changes in minor versions
pydantic = "^1.9.0"
"ruamel.yaml" = ">=0.15.0"