From 6a4c47ddbf5351f79ad0ea89b3e0bf2795c35e0f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 14 Jul 2024 06:51:59 +0000 Subject: [PATCH 1/2] python312Packages.pytest-playwright: 0.5.0 -> 0.5.1 --- pkgs/development/python-modules/pytest-playwright/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-playwright/default.nix b/pkgs/development/python-modules/pytest-playwright/default.nix index 3cb7de0da430..57a4ab0b33ba 100644 --- a/pkgs/development/python-modules/pytest-playwright/default.nix +++ b/pkgs/development/python-modules/pytest-playwright/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "pytest-playwright"; - version = "0.5.0"; + version = "0.5.1"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "microsoft"; repo = "playwright-pytest"; rev = "refs/tags/v${version}"; - hash = "sha256-HS0Qpr5R4dAoXe0bpPGU7JABB7CmwugReRD75XeJ8l4="; + hash = "sha256-s+0kk9kmMctPCKFd5rbdEwGgfHKYRvKq0rY9eosifCU="; }; nativeBuildInputs = [ setuptools-scm ]; From 84f6691006f744dd8825309df40e81300d2a9a85 Mon Sep 17 00:00:00 2001 From: natsukium Date: Tue, 30 Jul 2024 12:20:44 +0900 Subject: [PATCH 2/2] python312Packages.pytest-playwright: refactor --- .../python-modules/pytest-playwright/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pytest-playwright/default.nix b/pkgs/development/python-modules/pytest-playwright/default.nix index 57a4ab0b33ba..b137ba91e2d9 100644 --- a/pkgs/development/python-modules/pytest-playwright/default.nix +++ b/pkgs/development/python-modules/pytest-playwright/default.nix @@ -6,17 +6,16 @@ playwright-driver, pytest, pytest-base-url, - pytestCheckHook, python-slugify, pythonOlder, + setuptools, setuptools-scm, - django, }: buildPythonPackage rec { pname = "pytest-playwright"; version = "0.5.1"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.8"; @@ -27,11 +26,14 @@ buildPythonPackage rec { hash = "sha256-s+0kk9kmMctPCKFd5rbdEwGgfHKYRvKq0rY9eosifCU="; }; - nativeBuildInputs = [ setuptools-scm ]; + build-system = [ + setuptools + setuptools-scm + ]; buildInputs = [ pytest ]; - propagatedBuildInputs = [ + dependencies = [ playwright pytest-base-url python-slugify