Merge pull request #256846 from fabaff/pycookiecheat-bump

python311Packages.playwright: 1.37.0 -> 1.38.0, python311Packages.pycookiecheat: 0.5.0 -> 0.6.0
This commit is contained in:
Fabian Affolter 2023-09-26 09:27:12 +02:00 committed by GitHub
commit cd4e4e5106
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 38 additions and 30 deletions

View file

@ -16,15 +16,15 @@ in
buildPythonPackage rec { buildPythonPackage rec {
pname = "playwright"; pname = "playwright";
# run ./pkgs/development/python-modules/playwright/update.sh to update # run ./pkgs/development/python-modules/playwright/update.sh to update
version = "1.37.0"; version = "1.38.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "microsoft"; owner = "microsoft";
repo = "playwright-python"; repo = "playwright-python";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-7egK76A3+C+JPbCNFXDd4qTjepBRSZgtQmFrE/jWJN4="; hash = "sha256-K3ZLDnDtV9PWX0etVv6RIDHp0vZZ7b7DGJ1GjP2kfXU=";
}; };
patches = [ patches = [

View file

@ -14,7 +14,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pycookiecheat"; pname = "pycookiecheat";
version = "0.5.0"; version = "0.6.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "n8henrie"; owner = "n8henrie";
repo = "pycookiecheat"; repo = "pycookiecheat";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-3I7iw/dwF4lRqmVM3OR402InZCFoV9gzKpRQrx4F9KA="; hash = "sha256-mSc5FqMM8BICVEdSdsIny9Bnk6qCRekPk4RkBusDoVA=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [
@ -51,10 +51,18 @@ buildPythonPackage rec {
"pycookiecheat" "pycookiecheat"
]; ];
preCheck = ''
export HOME=$(mktemp -d)
'';
disabledTests = [ disabledTests = [
# Tests want to use playwright executable # Tests want to use playwright executable
"test_no_cookies" "test_no_cookies"
"test_fake_cookie" "test_fake_cookie"
"test_firefox_cookies"
"test_load_firefox_cookie_db"
"test_firefox_no_cookies"
"test_firefox_get_default_profile"
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
"test_slack_config" "test_slack_config"
]; ];

View file

@ -1,3 +1,3 @@
[ [
{"@playwright/test": "1.37.0"} {"@playwright/test": "1.38.0"}
] ]

View file

@ -4,15 +4,6 @@
let let
sources = { sources = {
"@types/node-20.5.0" = {
name = "_at_types_slash_node";
packageName = "@types/node";
version = "20.5.0";
src = fetchurl {
url = "https://registry.npmjs.org/@types/node/-/node-20.5.0.tgz";
sha512 = "Mgq7eCtoTjT89FqNoTzzXg2XvCi5VMhRV6+I2aYanc6kQCBImeNaAYRs/DyoVqk1YEUJK5gN9VO7HRIdz4Wo3Q==";
};
};
"fsevents-2.3.2" = { "fsevents-2.3.2" = {
name = "fsevents"; name = "fsevents";
packageName = "fsevents"; packageName = "fsevents";
@ -22,30 +13,39 @@ let
sha512 = "xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA=="; sha512 = "xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==";
}; };
}; };
"playwright-core-1.37.0" = { "playwright-1.38.0" = {
name = "playwright";
packageName = "playwright";
version = "1.38.0";
src = fetchurl {
url = "https://registry.npmjs.org/playwright/-/playwright-1.38.0.tgz";
sha512 = "fJGw+HO0YY+fU/F1N57DMO+TmXHTrmr905J05zwAQE9xkuwP/QLDk63rVhmyxh03dYnEhnRbsdbH9B0UVVRB3A==";
};
};
"playwright-core-1.38.0" = {
name = "playwright-core"; name = "playwright-core";
packageName = "playwright-core"; packageName = "playwright-core";
version = "1.37.0"; version = "1.38.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/playwright-core/-/playwright-core-1.37.0.tgz"; url = "https://registry.npmjs.org/playwright-core/-/playwright-core-1.38.0.tgz";
sha512 = "1c46jhTH/myQw6sesrcuHVtLoSNfJv8Pfy9t3rs6subY7kARv0HRw5PpyfPYPpPtQvBOmgbE6K+qgYUpj81LAA=="; sha512 = "f8z1y8J9zvmHoEhKgspmCvOExF2XdcxMW8jNRuX4vkQFrzV4MlZ55iwb5QeyiFQgOFCUolXiRHgpjSEnqvO48g==";
}; };
}; };
}; };
in in
{ {
"@playwright/test-1.37.0" = nodeEnv.buildNodePackage { "@playwright/test-1.38.0" = nodeEnv.buildNodePackage {
name = "_at_playwright_slash_test"; name = "_at_playwright_slash_test";
packageName = "@playwright/test"; packageName = "@playwright/test";
version = "1.37.0"; version = "1.38.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/@playwright/test/-/test-1.37.0.tgz"; url = "https://registry.npmjs.org/@playwright/test/-/test-1.38.0.tgz";
sha512 = "181WBLk4SRUyH1Q96VZl7BP6HcK0b7lbdeKisn3N/vnjitk+9HbdlFz/L5fey05vxaAhldIDnzo8KUoy8S3mmQ=="; sha512 = "xis/RXXsLxwThKnlIXouxmIvvT3zvQj1JE39GsNieMUrMpb3/GySHDh2j8itCG22qKVD4MYLBp7xB73cUW/UUw==";
}; };
dependencies = [ dependencies = [
sources."@types/node-20.5.0"
sources."fsevents-2.3.2" sources."fsevents-2.3.2"
sources."playwright-core-1.37.0" sources."playwright-1.38.0"
sources."playwright-core-1.38.0"
]; ];
buildInputs = globalBuildInputs; buildInputs = globalBuildInputs;
meta = { meta = {

View file

@ -30,15 +30,15 @@ let
{ {
pname = "playwright-driver"; pname = "playwright-driver";
# run ./pkgs/development/python-modules/playwright/update.sh to update # run ./pkgs/development/python-modules/playwright/update.sh to update
version = "1.37.0"; version = "1.38.0";
src = fetchurl { src = fetchurl {
url = "https://playwright.azureedge.net/builds/driver/${filename}"; url = "https://playwright.azureedge.net/builds/driver/${filename}";
sha256 = { sha256 = {
x86_64-linux = "1lkmanr402ar9njwb7dgyzparjyr1r9krz9ad7b8c6hi3fjvrj0y"; x86_64-linux = "1zs8mfn41k5kv1r6vw8x3hw7z7ghmwfrvdhx9lvcllhrdiqzqkbm";
aarch64-linux = "13nfva9jfmjyjxm1my0aq8ngn6ha0fdrpfv28gm351n0j9cjlvqh"; aarch64-linux = "0m2mnvhfqyqjwmb0jdmwdsw0xacr85g5wy0dipl0i8ylb9zjzq7z";
x86_64-darwin = "0q1qmgypngxs9ipb6dlhk1xccyzw6frzr835ijifpypgp4xmz2gi"; x86_64-darwin = "0jik9d80ina2439nmnd4frmmcjimyqr888gwrm6i136hla27i3a9";
aarch64-darwin = "1mq1868s06wgfgi3nhdrzsdqi3cl08lrkiz5q06mg1s724b2sf0v"; aarch64-darwin = "1ma2f51hz5xjp55yn9x1s4qg62df12lrr4dy4kdqc6wiqdxc96f3";
}.${system} or throwSystem; }.${system} or throwSystem;
}; };