Merge pull request #201005 from fabaff/selenium-bump

python310Packages.selenium: 4.5.0 -> 4.6.0
This commit is contained in:
Fabian Affolter 2022-11-14 17:29:32 +01:00 committed by GitHub
commit dad4de1694
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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