Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[Bug]: Installation fails if binary distributions are prohibited

Abierto
#43,599 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
node.js, python
Área
backend, devtools

Línea de trabajo

Start by reading the Python package installation and Node.js driver selection paths; the issue links to the Playwright core package metadata and the Arch Linux package recipe as examples. Check how installation behaves when binary distributions are prohibited and how the system Node.js version is selected. Done means the package can install without its bundled executable and use a compatible system Node.js.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Version

1.58.0

Steps to reproduce
  1. Prohibit binary distributions by setting installer.no-binary to :all: or true.
  2. Run $ poetry add playwright.
Expected behavior

Installing playwright package succeeds.

Actual behavior
$ poetry add playwright
Using version ^1.58.0 for playwright

Updating dependencies
Resolving dependencies... (2.5s)

Package operations: 3 installs, 0 updates, 0 removals

  - Installing greenlet (3.3.2)
  - Installing pyee (13.0.1)
  - Installing playwright (1.58.0): Failed

    | Unable to find installation candidates for playwright (1.58.0)
    | 
    | This is likely not a Poetry issue.
    | 
    |   - 8 candidate(s) were identified for the package
    |   - 8 wheel(s) were skipped due to your installer.no-binary policy
    | 
    | Solutions:
    | Make sure the lockfile is up-to-date. You can try one of the following;
    | 
    |     1. Regenerate lockfile: poetry lock --no-cache --regenerate
    |     2. Update package     : poetry update --no-cache playwright
    | 
    | If any of those solutions worked, you will have to clear your caches using (poetry cache clear --all).
    | 
    | If neither works, please first check to verify that the playwright has published wheels available from your configured source that are compatible with your environment- ie. operating system, architecture (x86_64, arm64 etc.), python interpreter.

Additional context

Seems like no platform-independent distribution is available on PyPI. After investigating the package, it seems like the only reason for this is driver/node, which seems to be Node.js executable. I already do have Node.js installed on my system and I checked the version compatibility here.

So, I'd like to not be forced to have this executable on my system and have Playwright use the system Node.js. And that's exactly what the Arch Linux package has been doing.

Created from https://github.com/microsoft/playwright-python/issues/3036.

Environment
- Operating System: Arch Linux
- CPU: x86_64
- Browser: All
- Python Version: 3.14.3
- Other info:
  - Poetry version: 2.3.2
Lenguaje dominante
TypeScript
Estrellas
98.5k
Forks
6.7k
Merge medio
16 h 5 min
PR fusionados (30 d)
286

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/playwright

Todos los issues de microsoft/playwright

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.