mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-21 17:06:18 +00:00
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:
+4
-2
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user