mirror of
https://github.com/feder-cr/invisible_playwright.git
synced 2026-07-07 11:02:21 +02:00
fix(deps): cap playwright <1.61 and pin it in the e2e clean venv
Playwright 1.61.0 (2026-06-29) ships a Browser.setDefaultViewport Juggler call the published firefox-13 binary does not implement, so an unpinned pip install (the wrapper declared playwright>=1.40) breaks new_context on fresh installs. Cap the dependency to <1.61 and force the blessed pin in the e2e clean venv so CI tests the version users actually run.
This commit is contained in:
parent
95b1e47e0c
commit
7a42984158
2 changed files with 12 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ classifiers = [
|
|||
"Programming Language :: Python :: 3.12",
|
||||
]
|
||||
dependencies = [
|
||||
"playwright>=1.40",
|
||||
"playwright>=1.40,<1.61",
|
||||
"platformdirs>=4",
|
||||
"requests[socks]>=2.31",
|
||||
"maxminddb>=2.2",
|
||||
|
|
@ -30,7 +30,7 @@ dependencies = [
|
|||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = ["pytest>=7", "pytest-mock>=3", "responses>=0.24", "build>=1", "pytest-rerunfailures>=14", "playwright>=1.40"]
|
||||
dev = ["pytest>=7", "pytest-mock>=3", "responses>=0.24", "build>=1", "pytest-rerunfailures>=14", "playwright>=1.40,<1.61"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
markers = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue