Skip to content

[Bug]: CI fails on using official Docker images post August 8th #2945

@pruthvi2103

Description

@pruthvi2103

Version

1.52.0

Steps to reproduce

Example steps:

  1. create a docker file
  2. use a official python docker image eg: FROM python:3.11
  3. RUN pip install -r requirements.txt
  4. RUN python -m playwright install --with-deps chromium

Expected behavior

Expected chromium to install properly and CI to succeed

Actual behavior

#35 [stage-2 10/14] RUN playwright install --with-deps chromium
#35 0.689 BEWARE: your OS is not officially supported by Playwright; installing dependencies for ubuntu20.04-x64 as a fallback.
#35 0.689 Installing dependencies...
#35 0.760 Hit:1 http://deb.debian.org/debian trixie InRelease
#35 0.761 Hit:2 http://deb.debian.org/debian trixie-updates InRelease
#35 0.765 Hit:3 http://deb.debian.org/debian-security trixie-security InRelease
#35 0.793 Reading package lists...
#35 1.277 Reading package lists...
#35 1.770 Building dependency tree...
#35 1.928 Reading state information...
#35 1.942 Package ttf-ubuntu-font-family is not available, but is referred to by another package.
#35 1.942 This may mean that the package is missing, has been obsoleted, or
#35 1.942 is only available from another source
#35 1.942 
#35 1.942 Package ttf-unifont is not available, but is referred to by another package.
#35 1.942 This may mean that the package is missing, has been obsoleted, or
#35 1.942 is only available from another source
#35 1.942 However the following packages replace it:
#35 1.942   fonts-unifont
#35 1.942 
#35 1.944 E: Package 'ttf-unifont' has no installation candidate
#35 1.944 E: Package 'ttf-ubuntu-font-family' has no installation candidate
#35 1.947 Failed to install browsers
#35 1.947 Error: Installation process exited with code: 100
#35 ERROR: process "/bin/sh -c playwright install --with-deps chromium" did not complete successfully: exit code: 1

Additional context

The Docker team recently changed the default python image to use debian trixie. It was using debian bookworm earlier

Environment

- Operating System: [Debian 13]
- CPU: [arm64]
- Browser: [All]
- Python Version: [3.11]
- Docker Image python:3.11 (any python image)
- Issue encountered inside GitHub Actions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions