From 7fa15aca7c76157d42685668472389d0d2cd2c8b Mon Sep 17 00:00:00 2001 From: yottanami Date: Wed, 15 Jan 2025 15:11:33 +0100 Subject: [PATCH] playwright-driver: 1.40.0 -> 1.49.0 --- .../python-modules/playwright/default.nix | 4 +-- pkgs/development/web/playwright/browsers.json | 26 +++++++++++++------ pkgs/development/web/playwright/driver.nix | 12 ++++----- pkgs/development/web/playwright/firefox.nix | 4 +-- pkgs/development/web/playwright/webkit.nix | 4 +-- 5 files changed, 30 insertions(+), 20 deletions(-) diff --git a/pkgs/development/python-modules/playwright/default.nix b/pkgs/development/python-modules/playwright/default.nix index d230e237cec69..6dee1d77d3c4c 100644 --- a/pkgs/development/python-modules/playwright/default.nix +++ b/pkgs/development/python-modules/playwright/default.nix @@ -22,7 +22,7 @@ in buildPythonPackage rec { pname = "playwright"; # run ./pkgs/development/python-modules/playwright/update.sh to update - version = "1.47.0"; + version = "1.49.1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "microsoft"; repo = "playwright-python"; tag = "v${version}"; - hash = "sha256-C/spH54hhLI0Egs2jjTjQ5BH1pIw1syrfSyUvVQRoKM="; + hash = "sha256-RwUjFofC/scwVClKncYWp3RbIUeKsWokVjcGibdrrtc="; }; patches = [ diff --git a/pkgs/development/web/playwright/browsers.json b/pkgs/development/web/playwright/browsers.json index e7fb77faf27ee..3d215ca650968 100644 --- a/pkgs/development/web/playwright/browsers.json +++ b/pkgs/development/web/playwright/browsers.json @@ -2,27 +2,37 @@ "comment": "This file is kept up to date via update.sh", "browsers": { "chromium": { - "revision": "1134", - "browserVersion": "129.0.6668.29" + "revision": "1148", + "browserVersion": "131.0.6778.33" + }, + "chromium-headless-shell": { + "revision": "1148", + "browserVersion": "131.0.6778.33" }, "firefox": { - "revision": "1463", - "browserVersion": "130.0" + "revision": "1466", + "browserVersion": "132.0" }, "webkit": { - "revision": "2070", + "revision": "2104", "revisionOverrides": { "mac10.14": "1446", "mac10.15": "1616", "mac11": "1816", "mac11-arm64": "1816", "mac12": "2009", - "mac12-arm64": "2009" + "mac12-arm64": "2009", + "ubuntu20.04-x64": "2092", + "ubuntu20.04-arm64": "2092" }, - "browserVersion": "18.0" + "browserVersion": "18.2" }, "ffmpeg": { - "revision": "1010" + "revision": "1010", + "revisionOverrides": { + "mac12": "1010", + "mac12-arm64": "1010" + } } } } diff --git a/pkgs/development/web/playwright/driver.nix b/pkgs/development/web/playwright/driver.nix index 1058a61d48fbc..354d70dcb1a05 100644 --- a/pkgs/development/web/playwright/driver.nix +++ b/pkgs/development/web/playwright/driver.nix @@ -27,13 +27,13 @@ let } .${system} or throwSystem; - version = "1.47.0"; + version = "1.49.1"; src = fetchFromGitHub { owner = "Microsoft"; repo = "playwright"; rev = "v${version}"; - hash = "sha256-cKjVDy1wFo8NlF8v+8YBuQUF2OUYjCmv27uhEoVUrno="; + hash = "sha256-xKmuAVMGm7SKuOG/AYvrzolhxok5F5EOBIB6kMjF3pk="; }; babel-bundle = buildNpmPackage { @@ -50,7 +50,7 @@ let pname = "expect-bundle"; inherit version src; sourceRoot = "${src.name}/packages/playwright/bundles/expect"; - npmDepsHash = "sha256-qnFx/AQZtmxNFrrabfOpsWy6I64DFJf3sWrJzL1wfU4="; + npmDepsHash = "sha256-KwxNqPefvPPHG4vbco2O4G8WlA7l33toJdfNWHMTDOQ="; dontNpmBuild = true; installPhase = '' cp -r . "$out" @@ -60,7 +60,7 @@ let pname = "utils-bundle"; inherit version src; sourceRoot = "${src.name}/packages/playwright/bundles/utils"; - npmDepsHash = "sha256-d+nE11x/493BexI70mVbnZFLQClU88sscbNwruXjx1M="; + npmDepsHash = "sha256-tyk9bv1ethQSm8PKDpLthwsmqJugLIpsUOf9G8TOKRc="; dontNpmBuild = true; installPhase = '' cp -r . "$out" @@ -70,7 +70,7 @@ let pname = "utils-bundle-core"; inherit version src; sourceRoot = "${src.name}/packages/playwright-core/bundles/utils"; - npmDepsHash = "sha256-aktxEDQKxsDcInyjDKDuIu4zwtrAH0lRda/mP1IayPA="; + npmDepsHash = "sha256-PwdYIGBMrOgSiQkINFHDBO/YOX/VY5cTM2W0YQhEXTg="; dontNpmBuild = true; installPhase = '' cp -r . "$out" @@ -92,7 +92,7 @@ let inherit version src; sourceRoot = "${src.name}"; # update.sh depends on sourceRoot presence - npmDepsHash = "sha256-FaDTJmIiaaOCvq6tARfiWX5IBTTNOJ/iVkRsO4D8aqc="; + npmDepsHash = "sha256-8aSyZgEcmlJsMszZ4H8wJik+lKI4m8J0qa3ZvBRcvgQ="; nativeBuildInputs = [ cacert ]; diff --git a/pkgs/development/web/playwright/firefox.nix b/pkgs/development/web/playwright/firefox.nix index 0f404bee2899f..94aa3477d46da 100644 --- a/pkgs/development/web/playwright/firefox.nix +++ b/pkgs/development/web/playwright/firefox.nix @@ -18,8 +18,8 @@ stdenv.mkDerivation { url = "https://playwright.azureedge.net/builds/firefox/${revision}/firefox-${suffix'}.zip"; hash = { - x86_64-linux = "sha256-Hd9LlSRLW51gDoFyszqvg46Q/sMizLRsVKAN9atbwsw="; - aarch64-linux = "sha256-SEXH3gLOfNjOcnNWQjQ5gaaow47veVs0BoTYSgXw+24="; + x86_64-linux = "sha256-NJLMaLS2Qn8elI6nKAbBVZQ2ibFi5Kw7jW+aUM22EJM="; + aarch64-linux = "sha256-2l5KFGLrMjNHexTTC6H9NSzUyTQvivWeiIaoGe2/h5g="; } .${system} or throwSystem; }; diff --git a/pkgs/development/web/playwright/webkit.nix b/pkgs/development/web/playwright/webkit.nix index 8c89a34918f0d..3edadd8aecac7 100644 --- a/pkgs/development/web/playwright/webkit.nix +++ b/pkgs/development/web/playwright/webkit.nix @@ -71,8 +71,8 @@ stdenv.mkDerivation { stripRoot = false; hash = { - x86_64-linux = "sha256-pHYGQYwu47jdOAD+/mLrP6Dd+2aDMHENddVwAu0uEfI="; - aarch64-linux = "sha256-0UeYWjeFnQ8yVa3juWg7Z7VF1GDbP4pJ9OUJRbv1OJw="; + x86_64-linux = "sha256-h6fX2/2GqYJAWS/uABTJgduQJxZdLS/kzwEGBRNCjxU="; + aarch64-linux = "sha256-b/J5oI7xTfZbZrdUtioGfw7PUEVPU5Ypld04GBdJUp0="; } .${system} or throwSystem; };