Spaces:
Sleeping
Sleeping
Try again?
Browse files- README.md +14 -0
- packages.txt +25 -25
README.md
CHANGED
|
@@ -10,3 +10,17 @@ pinned: false
|
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
# Updating packages.txt
|
| 16 |
+
|
| 17 |
+
When reading the build logs on HF, it says it's using the python:3.10 image.
|
| 18 |
+
https://hub.docker.com/layers/library/python/3.10/images/sha256-ad65dd4f9ada4720c144142187c3e88d7e346f6d78f94aa78853ebf76e1492c0?context=explore
|
| 19 |
+
|
| 20 |
+
This means we want the debian packages for debian 12, which we can find using a docker container:
|
| 21 |
+
```sh
|
| 22 |
+
docker run -it python:3.10 bash -c "pip install playwright && playwright install-deps --dry-run"
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
Now replace " " with "\n" in the output and write to packages.txt.
|
| 26 |
+
I tried doing this automatically, but the progress bar was interfering with the output, so I just did it manually.
|
packages.txt
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
fonts-liberation
|
| 2 |
libasound2
|
| 3 |
libatk-bridge2.0-0
|
| 4 |
libatk1.0-0
|
|
@@ -7,75 +6,76 @@ libcairo2
|
|
| 7 |
libcups2
|
| 8 |
libdbus-1-3
|
| 9 |
libdrm2
|
| 10 |
-
libegl1
|
| 11 |
libgbm1
|
| 12 |
libglib2.0-0
|
| 13 |
-
libgtk-3-0
|
| 14 |
libnspr4
|
| 15 |
libnss3
|
| 16 |
libpango-1.0-0
|
| 17 |
libx11-6
|
| 18 |
-
libx11-xcb1
|
| 19 |
libxcb1
|
| 20 |
libxcomposite1
|
| 21 |
libxdamage1
|
| 22 |
libxext6
|
| 23 |
libxfixes3
|
|
|
|
| 24 |
libxrandr2
|
| 25 |
-
libxshmfence1
|
| 26 |
xvfb
|
| 27 |
fonts-noto-color-emoji
|
| 28 |
-
|
| 29 |
-
|
| 30 |
libfreetype6
|
| 31 |
-
xfonts-cyrillic
|
| 32 |
xfonts-scalable
|
|
|
|
| 33 |
fonts-ipafont-gothic
|
| 34 |
fonts-wqy-zenhei
|
| 35 |
fonts-tlwg-loma-otf
|
| 36 |
-
|
| 37 |
-
ffmpeg
|
| 38 |
libcairo-gobject2
|
| 39 |
libdbus-glib-1-2
|
| 40 |
-
|
| 41 |
-
|
|
|
|
| 42 |
libpangocairo-1.0-0
|
| 43 |
-
|
| 44 |
libxcb-shm0
|
| 45 |
libxcursor1
|
| 46 |
libxi6
|
| 47 |
libxrender1
|
| 48 |
-
libxt6
|
| 49 |
libxtst6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
libenchant-2-2
|
| 51 |
-
libflite1
|
| 52 |
-
libx264-155
|
| 53 |
-
libenchant1c2a
|
| 54 |
libepoxy0
|
| 55 |
libevdev2
|
| 56 |
-
libgl1
|
| 57 |
libgles2
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
libgudev-1.0-0
|
| 59 |
libharfbuzz-icu0
|
| 60 |
-
libharfbuzz0b
|
| 61 |
libhyphen0
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
|
|
|
| 65 |
libnotify4
|
| 66 |
libopengl0
|
| 67 |
libopenjp2-7
|
| 68 |
libopus0
|
| 69 |
libpng16-16
|
|
|
|
| 70 |
libsecret-1-0
|
| 71 |
-
libvpx6
|
| 72 |
libwayland-client0
|
| 73 |
libwayland-egl1
|
| 74 |
libwayland-server0
|
| 75 |
-
|
| 76 |
libwebpdemux2
|
| 77 |
libwoff1
|
| 78 |
-
libxkbcommon0
|
| 79 |
libxml2
|
| 80 |
libxslt1.1
|
| 81 |
libatomic1
|
|
|
|
|
|
|
| 1 |
libasound2
|
| 2 |
libatk-bridge2.0-0
|
| 3 |
libatk1.0-0
|
|
|
|
| 6 |
libcups2
|
| 7 |
libdbus-1-3
|
| 8 |
libdrm2
|
|
|
|
| 9 |
libgbm1
|
| 10 |
libglib2.0-0
|
|
|
|
| 11 |
libnspr4
|
| 12 |
libnss3
|
| 13 |
libpango-1.0-0
|
| 14 |
libx11-6
|
|
|
|
| 15 |
libxcb1
|
| 16 |
libxcomposite1
|
| 17 |
libxdamage1
|
| 18 |
libxext6
|
| 19 |
libxfixes3
|
| 20 |
+
libxkbcommon0
|
| 21 |
libxrandr2
|
|
|
|
| 22 |
xvfb
|
| 23 |
fonts-noto-color-emoji
|
| 24 |
+
fonts-unifont
|
| 25 |
+
libfontconfig1
|
| 26 |
libfreetype6
|
|
|
|
| 27 |
xfonts-scalable
|
| 28 |
+
fonts-liberation
|
| 29 |
fonts-ipafont-gothic
|
| 30 |
fonts-wqy-zenhei
|
| 31 |
fonts-tlwg-loma-otf
|
| 32 |
+
fonts-freefont-ttf
|
|
|
|
| 33 |
libcairo-gobject2
|
| 34 |
libdbus-glib-1-2
|
| 35 |
+
libgdk-pixbuf-2.0-0
|
| 36 |
+
libgtk-3-0
|
| 37 |
+
libharfbuzz0b
|
| 38 |
libpangocairo-1.0-0
|
| 39 |
+
libx11-xcb1
|
| 40 |
libxcb-shm0
|
| 41 |
libxcursor1
|
| 42 |
libxi6
|
| 43 |
libxrender1
|
|
|
|
| 44 |
libxtst6
|
| 45 |
+
libsoup-3.0-0
|
| 46 |
+
gstreamer1.0-libav
|
| 47 |
+
gstreamer1.0-plugins-bad
|
| 48 |
+
gstreamer1.0-plugins-base
|
| 49 |
+
gstreamer1.0-plugins-good
|
| 50 |
+
libegl1
|
| 51 |
libenchant-2-2
|
|
|
|
|
|
|
|
|
|
| 52 |
libepoxy0
|
| 53 |
libevdev2
|
|
|
|
| 54 |
libgles2
|
| 55 |
+
libglx0
|
| 56 |
+
libgstreamer-gl1.0-0
|
| 57 |
+
libgstreamer-plugins-base1.0-0
|
| 58 |
+
libgstreamer1.0-0
|
| 59 |
libgudev-1.0-0
|
| 60 |
libharfbuzz-icu0
|
|
|
|
| 61 |
libhyphen0
|
| 62 |
+
libicu72
|
| 63 |
+
libjpeg62-turbo
|
| 64 |
+
liblcms2-2
|
| 65 |
+
libmanette-0.2-0
|
| 66 |
libnotify4
|
| 67 |
libopengl0
|
| 68 |
libopenjp2-7
|
| 69 |
libopus0
|
| 70 |
libpng16-16
|
| 71 |
+
libproxy1v5
|
| 72 |
libsecret-1-0
|
|
|
|
| 73 |
libwayland-client0
|
| 74 |
libwayland-egl1
|
| 75 |
libwayland-server0
|
| 76 |
+
libwebp7
|
| 77 |
libwebpdemux2
|
| 78 |
libwoff1
|
|
|
|
| 79 |
libxml2
|
| 80 |
libxslt1.1
|
| 81 |
libatomic1
|