mirror of
https://github.com/daijro/camoufox.git
synced 2026-09-09 00:00:39 +00:00
build(deps): raise the playwright cap to <1.63 instead of removing it
The cherry-picked #742 replaced `playwright = "<1.61"` with `"*"`. The breakage it fixes is real, but an unbounded range removes the tripwire rather than making the browser forward-compatible: `camoufox.server` imports `playwright._impl._driver.compute_driver_executable`, a private API with no compat guarantee, and `additions/juggler` is a fork of one Playwright vintage that every minor release is free to break again -- 1.61 sending `viewport.isMobile` is exactly that, and it will recur. So the cap moves up rather than away, to the tested-current 1.62.0. No lower bound is added: this package has never carried one, and the launch path was exercised against 1.53.0 as well as the 1.62.0 the Playwright suite runs on. build-tester/requirements.txt mirrors this pin by its own comment, so it moves with it.
This commit is contained in:
@@ -33,7 +33,12 @@ rich = "*"
|
||||
requests = "*"
|
||||
orjson = "*"
|
||||
browserforge = "^1.2.4"
|
||||
playwright = "*"
|
||||
# Keep a ceiling. 1.61 added Juggler params the protocol schema had to learn
|
||||
# (viewport isMobile/screenSize, webp screenshots, webSocketFrame timestamps)
|
||||
# and every Playwright minor is free to change Juggler again, while
|
||||
# camoufox.server imports playwright._impl._driver -- a private API with no
|
||||
# compat guarantee. Bump deliberately, with a run of `make tests`.
|
||||
playwright = "<1.63"
|
||||
pyyaml = "*"
|
||||
platformdirs = "*"
|
||||
numpy = "*"
|
||||
|
||||
Reference in New Issue
Block a user