about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-11-30 22:52:13 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-12-20 20:10:28 +0100
commit2addce9d0b8583151db224f9b4036c9c37050d4a (patch)
tree0024a97d812e190476404f1e4b6ac145d6ba51f7
parentbe5b79beae52accdabe1e0680dbcbf6477972dea (diff)
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
-rw-r--r--pkgs/development/python-modules/playwright/default.nix13
1 files changed, 11 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/playwright/default.nix b/pkgs/development/python-modules/playwright/default.nix
index 555f7aa301970..792b2f203a461 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