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