diff --git a/pkgs/development/python-modules/pyppeteer/default.nix b/pkgs/development/python-modules/pyppeteer/default.nix index 4c15d006a9d5..4fd2c95a0a2d 100644 --- a/pkgs/development/python-modules/pyppeteer/default.nix +++ b/pkgs/development/python-modules/pyppeteer/default.nix @@ -27,13 +27,6 @@ buildPythonPackage rec { hash = "sha256-LYyV4Wzz4faewSsGjNe0i/9BLbCHzzEns2ZL2MYkGWw="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'pyee = "^8.1.0"' 'pyee = "*"' \ - --replace 'urllib3 = "^1.25.8"' 'urllib3 = "*"' \ - --replace 'websockets = "^10.0"' 'websockets = "*"' - ''; - nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ @@ -46,6 +39,12 @@ buildPythonPackage rec { websockets ]; + pythonRelaxDeps = [ + "pyee" + "urllib3" + "websockets" + ]; + nativeCheckInputs = [ syncer pytest-xdist