lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

python3Packages.selenium: 4.12.0 -> 4.14.0

Change log: https://github.com/SeleniumHQ/selenium/blob/e5a96349cea553359d2ad38d0e85c2b1f9928265/py/CHANGES#L1-L26

+23 -7
+23 -7
pkgs/development/python-modules/selenium/default.nix
··· 8 8 , trio 9 9 , trio-websocket 10 10 , urllib3 11 + , pytest-trio 11 12 , nixosTests 13 + , stdenv 14 + , python 12 15 }: 13 16 14 17 buildPythonPackage rec { 15 18 pname = "selenium"; 16 - version = "4.12.0"; 19 + version = "4.14.0"; 17 20 format = "setuptools"; 18 21 19 22 disabled = pythonOlder "3.7"; ··· 23 26 repo = "selenium"; 24 27 # check if there is a newer tag with or without -python suffix 25 28 rev = "refs/tags/selenium-${version}"; 26 - hash = "sha256-A2lI40bPSIri/0yp6C3aJZBX5p6ON1fWGfJTcul9/2o="; 29 + hash = "sha256-cTMCKfFLUlJDbTUQA3Z/pKCE1RQQRMb4K8hKKn9HqvU="; 27 30 }; 28 31 29 - postPatch = '' 30 - substituteInPlace py/selenium/webdriver/firefox/service.py \ 31 - --replace 'DEFAULT_EXECUTABLE_PATH = "geckodriver"' 'DEFAULT_EXECUTABLE_PATH = "${geckodriver}/bin/geckodriver"' 32 - ''; 33 - 34 32 preConfigure = '' 35 33 cd py 36 34 ''; 37 35 36 + postInstall = '' 37 + DST_PREFIX=$out/lib/${python.libPrefix}/site-packages/selenium/webdriver/ 38 + DST_REMOTE=$DST_PREFIX/remote/ 39 + DST_FF=$DST_PREFIX/firefox 40 + cp ../rb/lib/selenium/webdriver/atoms/getAttribute.js $DST_REMOTE 41 + cp ../rb/lib/selenium/webdriver/atoms/isDisplayed.js $DST_REMOTE 42 + cp ../rb/lib/selenium/webdriver/atoms/findElements.js $DST_REMOTE 43 + cp ../javascript/cdp-support/mutation-listener.js $DST_REMOTE 44 + cp ../third_party/js/selenium/webdriver.json $DST_FF/webdriver_prefs.json 45 + '' + lib.optionalString stdenv.isDarwin '' 46 + mkdir -p $DST_PREFIX/common/macos 47 + cp ../common/manager/macos/selenium-manager $DST_PREFIX/common/macos 48 + '' + lib.optionalString stdenv.isLinux '' 49 + mkdir -p $DST_PREFIX/common/linux/ 50 + cp ../common/manager/linux/selenium-manager $DST_PREFIX/common/linux/ 51 + ''; 52 + 38 53 propagatedBuildInputs = [ 39 54 certifi 40 55 trio ··· 44 59 45 60 nativeCheckInputs = [ 46 61 pytestCheckHook 62 + pytest-trio 47 63 ]; 48 64 49 65 passthru.tests = {