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 { lib
, fetchFromGitHub , fetchFromGitHub
, buildPythonPackage , buildPythonPackage
, certifi
, geckodriver , geckodriver
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
@ -12,7 +13,9 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "selenium"; pname = "selenium";
version = "4.5.0"; version = "4.6.0";
format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -20,7 +23,7 @@ buildPythonPackage rec {
repo = "selenium"; repo = "selenium";
# check if there is a newer tag with or without -python suffix # check if there is a newer tag with or without -python suffix
rev = "refs/tags/selenium-${version}"; rev = "refs/tags/selenium-${version}";
hash = "sha256-K90CQYTeX9GKpP0ahxLx2HO5HG0P6MN7jeWmHtfiOns="; hash = "sha256-xgGGtJo+DZIwPa0H6dsT0VClRTMM8iFbNzSDZjH7ImI=";
}; };
postPatch = '' postPatch = ''
@ -33,11 +36,11 @@ buildPythonPackage rec {
''; '';
propagatedBuildInputs = [ propagatedBuildInputs = [
certifi
trio trio
trio-websocket trio-websocket
urllib3 urllib3
] ++ urllib3.optional-dependencies.secure ] ++ urllib3.optional-dependencies.socks;
++ urllib3.optional-dependencies.socks;
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook