From 2addce9d0b8583151db224f9b4036c9c37050d4a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 30 Nov 2023 22:52:13 +0100 Subject: [PATCH] python311Packages.playwright: relax pyee constraint Checking runtime dependencies for playwright-1.40.0-py3-none-manylinux1_x86_64.whl - pyee==11.0.1 not satisifeid by version 11.0.0 --- .../python-modules/playwright/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/playwright/default.nix b/pkgs/development/python-modules/playwright/default.nix index 555f7aa30197..792b2f203a46 100644 --- a/pkgs/development/python-modules/playwright/default.nix +++ b/pkgs/development/python-modules/playwright/default.nix @@ -11,6 +11,7 @@ , setuptools , setuptools-scm , playwright-driver +, pythonRelaxDepsHook }: let @@ -70,8 +71,16 @@ buildPythonPackage rec { ''; - nativeBuildInputs = [ git setuptools-scm setuptools ] - ++ lib.optionals stdenv.isLinux [ auditwheel ]; + nativeBuildInputs = [ + git + setuptools-scm + setuptools + pythonRelaxDepsHook + ] ++ lib.optionals stdenv.isLinux [ auditwheel ]; + + pythonRelaxDeps = [ + "pyee" + ]; propagatedBuildInputs = [ greenlet