pydata / pydata-sphinx-theme

A clean, three-column Sphinx theme with Bootstrap for the PyData community
https://pydata-sphinx-theme.readthedocs.io
BSD 3-Clause "New" or "Revised" License
557 stars 300 forks source link

playwright install warning: missing dependencies to run browsers #1906

Open gabalafou opened 3 days ago

gabalafou commented 3 days ago

While I was inspecting the GitHub workflow run log for #1905, I came across a warning in the playwright install step of the a11y-tests job (ubunta-latest, python=3.12).

Not sure if this needs attention or not, but putting it here for visibility.

Relevant portion of log pasted below

a11y-tests: commands[0]> playwright install
Downloading Chromium 125.0.6422.26 (playwright build v1117) from https://playwright.azureedge.net/builds/chromium/1117/chromium-linux.zip
Chromium 125.0.6422.26 (playwright build v1117) downloaded to /home/runner/.cache/ms-playwright/chromium-1117
Downloading FFMPEG playwright build v1009 from https://playwright.azureedge.net/builds/ffmpeg/1009/ffmpeg-linux.zip
FFMPEG playwright build v1009 downloaded to /home/runner/.cache/ms-playwright/ffmpeg-1009
Downloading Firefox 125.0.1 (playwright build v1449) from https://playwright.azureedge.net/builds/firefox/1449/firefox-ubuntu-22.04.zip
Firefox 125.0.1 (playwright build v1449) downloaded to /home/runner/.cache/ms-playwright/firefox-1449
Downloading Webkit 17.4 (playwright build v2003) from https://playwright.azureedge.net/builds/webkit/2003/webkit-ubuntu-22.04.zip
Webkit 17.4 (playwright build v2003) downloaded to /home/runner/.cache/ms-playwright/webkit-2003
Playwright Host validation warning: 
╔══════════════════════════════════════════════════════╗
║ Host system is missing dependencies to run browsers. ║
║ Missing libraries:                                   ║
║     libwoff2dec.so.1.0.2                             ║
║     libvpx.so.7                                      ║
║     libevent-2.1.so.7                                ║
║     libopus.so.0                                     ║
║     libgstallocators-1.0.so.0                        ║
║     libgstapp-1.0.so.0                               ║
║     libgstpbutils-1.0.so.0                           ║
║     libgstaudio-1.0.so.0                             ║
║     libgsttag-1.0.so.0                               ║
║     libgstvideo-1.0.so.0                             ║
║     libgstgl-1.0.so.0                                ║
║     libgstcodecparsers-1.0.so.0                      ║
║     libgstfft-1.0.so.0                               ║
║     libharfbuzz-icu.so.0                             ║
║     libhyphen.so.0                                   ║
║     libmanette-0.2.so.0                              ║
║     libflite.so.1                                    ║
║     libflite_usenglish.so.1                          ║
║     libflite_cmu_grapheme_lang.so.1                  ║
║     libflite_cmu_grapheme_lex.so.1                   ║
║     libflite_cmu_indic_lang.so.1                     ║
║     libflite_cmu_indic_lex.so.1                      ║
║     libflite_cmulex.so.1                             ║
║     libflite_cmu_time_awb.so.1                       ║
║     libflite_cmu_us_awb.so.1                         ║
║     libflite_cmu_us_kal16.so.1                       ║
║     libflite_cmu_us_kal.so.1                         ║
║     libflite_cmu_us_rms.so.1                         ║
║     libflite_cmu_us_slt.so.1                         ║
║     libGLESv2.so.2                                   ║
║     libx264.so                                       ║
╚══════════════════════════════════════════════════════╝
    at validateDependenciesLinux (/home/runner/work/pydata-sphinx-theme/pydata-sphinx-theme/.tox/a11y-tests/lib/python3.12/site-packages/playwright/driver/package/lib/server/registry/dependencies.js:216:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Registry._validateHostRequirements (/home/runner/work/pydata-sphinx-theme/pydata-sphinx-theme/.tox/a11y-tests/lib/python3.12/site-packages/playwright/driver/package/lib/server/registry/index.js:603:43)
    at async Registry._validateHostRequirementsForExecutableIfNeeded (/home/runner/work/pydata-sphinx-theme/pydata-sphinx-theme/.tox/a11y-tests/lib/python3.12/site-packages/playwright/driver/package/lib/server/registry/index.js:701:7)
    at async Registry.validateHostRequirementsForExecutablesIfNeeded (/home/runner/work/pydata-sphinx-theme/pydata-sphinx-theme/.tox/a11y-tests/lib/python3.12/site-packages/playwright/driver/package/lib/server/registry/index.js:690:43)
    at async t.<anonymous> (/home/runner/work/pydata-sphinx-theme/pydata-sphinx-theme/.tox/a11y-tests/lib/python3.12/site-packages/playwright/driver/package/lib/cli/program.js:119:7)