[Bug]: Installation fails if binary distributions are prohibited
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
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
- Prohibit binary distributions by setting installer.no-binary to
:all:ortrue. - 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
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/playwright
-
[Bug]: `playwright install` hangs silently for ~8 minutes when PLAYWRIGHT_BROWSERS_PATH is not writablePosiblemente ocupada @dcrousso la tomó hace 3 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
microsoft/playwright#43606 ·
Los mantenedores suelen responder en 1 día
-
[Feature]: Set `this.name` in `TargetClosedError` constructorQuizá libre de nuevo @LeonxLJX la tomó hace 52 días y no hay ningún pull request abierto. AbiertoP3-collecting-feedback
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
microsoft/playwright#42522 · 7 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
microsoft/playwright#43655 · 2 reacciones ·
Los mantenedores suelen responder en 1 día
-
[Bug]: UI mode fails with spawn EBADF on macOS when the test directory contains more than ~10k filesAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
microsoft/playwright#43653 ·
Los mantenedores suelen responder en 1 día
-
needs-triage-win
Dificultad 4/5 1-2 días Aptitud para principiantes 48/100
microsoft/playwright#43649 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de microsoft/playwright
Issues similares
-
bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
apex-dev-tools/apex-log-parser#199 ·
Los mantenedores suelen responder en 1 día
-
area/frontend/library-panels automated-triage type/bug type/ux
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
PostHog/posthog.com#21607 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
ajv-validator/ajv#2689 ·
-
[Bug]: IME confirmation Enter can submit the SSH port-forward dialogPosiblemente ocupada @seijikohara la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día