python310Packages.selenium: 4.5.0 -> 4.6.0

This commit is contained in:
Fabian Affolter 2022-11-13 11:48:09 +01:00
parent ead02ae273
commit f8de2411a1

View File

@ -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