python310Packages.splinter: 0.17.0 -> 0.18.0
https://github.com/cobrateam/splinter/releases/tag/0.18.0
This commit is contained in:
parent
eb92ef3a74
commit
9a578a2c08
1 changed files with 23 additions and 6 deletions
|
@ -1,20 +1,29 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy27
|
||||
, fetchFromGitHub
|
||||
, selenium
|
||||
, cssselect
|
||||
, django
|
||||
, flask
|
||||
, lxml
|
||||
, pytestCheckHook
|
||||
, zope-testbrowser
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "splinter";
|
||||
version = "0.17.0";
|
||||
version = "0.18.0";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cobrateam";
|
||||
repo = "splinter";
|
||||
rev = version;
|
||||
hash = "sha256-7QhFz/qBh2ECyeyvjCyqOYy/YrUK7KVX13VC/gem5BQ=";
|
||||
hash = "sha256-kJ5S/fBesaxTbxCQ0yBR30+CfCV6U5jgbfDZA7eF6ac=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -22,27 +31,35 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
checkInputs = [
|
||||
cssselect
|
||||
django
|
||||
flask
|
||||
lxml
|
||||
pytestCheckHook
|
||||
zope-testbrowser
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# driver is present and fails with a different error during loading
|
||||
"test_browser_local_driver_not_present"
|
||||
"test_local_driver_not_present"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"samples"
|
||||
# TODO: requires optional dependencies which should be defined in passthru.optional-dependencies.$name
|
||||
"tests/test_djangoclient.py"
|
||||
"tests/test_flaskclient.py"
|
||||
# We run neither Chromium nor Firefox nor ...
|
||||
"tests/test_async_finder.py"
|
||||
"tests/test_html_snapshot.py"
|
||||
"tests/test_iframes.py"
|
||||
"tests/test_mouse_interaction.py"
|
||||
"tests/test_popups.py"
|
||||
"tests/test_screenshot.py"
|
||||
"tests/test_shadow_root.py"
|
||||
"tests/test_webdriver.py"
|
||||
"tests/test_webdriver_chrome.py"
|
||||
"tests/test_webdriver_edge_chromium.py"
|
||||
"tests/test_webdriver_firefox.py"
|
||||
"tests/test_webdriver_remote.py"
|
||||
"tests/test_zopetestbrowser.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "splinter" ];
|
||||
|
|
Loading…
Reference in a new issue