Commit f8de2411 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.selenium: 4.5.0 -> 4.6.0

parent ead02ae2
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
{ 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