diff --git a/pkgs/development/python-modules/selenium/default.nix b/pkgs/development/python-modules/selenium/default.nix index 2656f460ff6a..c6f42a38e0f1 100644 --- a/pkgs/development/python-modules/selenium/default.nix +++ b/pkgs/development/python-modules/selenium/default.nix @@ -1,6 +1,7 @@ { lib , fetchFromGitHub , buildPythonPackage +, certifi , geckodriver , pytestCheckHook , pythonOlder @@ -12,7 +13,9 @@ buildPythonPackage rec { pname = "selenium"; - version = "4.5.0"; + version = "4.6.0"; + format = "setuptools"; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { @@ -20,7 +23,7 @@ buildPythonPackage rec { repo = "selenium"; # check if there is a newer tag with or without -python suffix rev = "refs/tags/selenium-${version}"; - hash = "sha256-K90CQYTeX9GKpP0ahxLx2HO5HG0P6MN7jeWmHtfiOns="; + hash = "sha256-xgGGtJo+DZIwPa0H6dsT0VClRTMM8iFbNzSDZjH7ImI="; }; postPatch = '' @@ -33,11 +36,11 @@ buildPythonPackage rec { ''; propagatedBuildInputs = [ + certifi trio trio-websocket urllib3 - ] ++ urllib3.optional-dependencies.secure - ++ urllib3.optional-dependencies.socks; + ] ++ urllib3.optional-dependencies.socks; checkInputs = [ pytestCheckHook