lol

python310Packages.splinter: 0.18.1 -> 0.19.0

https://github.com/cobrateam/splinter/releases/tag/0.19.0

authored by

Robert Schütz and committed by
Martin Weinelt
ed22deca b53d7821

+14 -9
+14 -9
pkgs/development/python-modules/splinter/default.nix
··· 2 2 , buildPythonPackage 3 3 , isPy27 4 4 , fetchFromGitHub 5 + , urllib3 5 6 , selenium 6 7 , cssselect 7 8 , django ··· 13 14 14 15 buildPythonPackage rec { 15 16 pname = "splinter"; 16 - version = "0.18.1"; 17 + version = "0.19.0"; 17 18 18 19 disabled = isPy27; 19 20 ··· 23 24 owner = "cobrateam"; 24 25 repo = "splinter"; 25 26 rev = "refs/tags/${version}"; 26 - hash = "sha256-5d39e9omc223ugBfVMIsMZh8+NPVxc6q7p2gwZ0fF0o="; 27 + hash = "sha256-K10zrQOM/khVcf+OT4s5UCY8zE2+nWtaAkRLy9/feU0="; 27 28 }; 28 29 29 30 propagatedBuildInputs = [ 30 - selenium 31 + urllib3 31 32 ]; 32 33 34 + passthru.optional-dependencies = { 35 + "zope.testbrowser" = [ zope-testbrowser lxml cssselect ]; 36 + django = [ django lxml cssselect ]; 37 + flask = [ flask lxml cssselect ]; 38 + selenium = [ selenium ]; 39 + }; 40 + 33 41 nativeCheckInputs = [ 34 - cssselect 35 - django 36 - flask 37 - lxml 38 42 pytestCheckHook 39 - zope-testbrowser 40 - ]; 43 + ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies); 41 44 42 45 disabledTests = [ 43 46 # driver is present and fails with a different error during loading 44 47 "test_browser_local_driver_not_present" 48 + "test_browser_log_missing_drivers" 45 49 "test_local_driver_not_present" 46 50 ]; 47 51 ··· 49 53 "samples" 50 54 # We run neither Chromium nor Firefox nor ... 51 55 "tests/test_async_finder.py" 56 + "tests/test_element_is_visible.py" 52 57 "tests/test_html_snapshot.py" 53 58 "tests/test_iframes.py" 54 59 "tests/test_mouse_interaction.py"