Package: python-selenium Version: 2.48.0+dfsg1-2 Severity: normal Tags: patch
Hi, attached patch fixes the chromedriver lookup otherwise we fail in the default configuration since Debian doesn't have it in its $PATH. Id also suggest to add [pg] patch-numbers = False oh and extra bonus points for adding [dch] id-length = 7 to debian/gbp.conf to make the patches browseable from the changelog. Please apply, -- Guido -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python-selenium depends on: pn python:any <none> python-selenium recommends no packages. Versions of packages python-selenium suggests: ii chromedriver 46.0.2490.71-1 pn firefoxdriver <none> -- no debconf information
>From aaad96c5543a3c1dacf246252b25278b85a1fa09 Mon Sep 17 00:00:00 2001 Message-Id: <aaad96c5543a3c1dacf246252b25278b85a1fa09.1448134783.git....@sigxcpu.org> From: =?UTF-8?q?Guido=20G=C3=BCnther?= <a...@sigxcpu.org> Date: Sat, 21 Nov 2015 20:32:37 +0100 Subject: [PATCH] Pick Debian's location of chromedriver --- .../Pick-Debian-s-location-of-chromedriver.patch | 21 +++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 22 insertions(+) create mode 100644 debian/patches/Pick-Debian-s-location-of-chromedriver.patch diff --git a/debian/patches/Pick-Debian-s-location-of-chromedriver.patch b/debian/patches/Pick-Debian-s-location-of-chromedriver.patch new file mode 100644 index 0000000..f449ef0 --- /dev/null +++ b/debian/patches/Pick-Debian-s-location-of-chromedriver.patch @@ -0,0 +1,21 @@ +From: =?utf-8?q?Guido_G=C3=BCnther?= <a...@sigxcpu.org> +Date: Sat, 21 Nov 2015 20:32:17 +0100 +Subject: Pick Debian's location of chromedriver + +--- + py/selenium/webdriver/chrome/webdriver.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/py/selenium/webdriver/chrome/webdriver.py b/py/selenium/webdriver/chrome/webdriver.py +index 55b6ec0..ef8d47e 100644 +--- a/py/selenium/webdriver/chrome/webdriver.py ++++ b/py/selenium/webdriver/chrome/webdriver.py +@@ -31,7 +31,7 @@ class WebDriver(RemoteWebDriver): + http://chromedriver.storage.googleapis.com/index.html + """ + +- def __init__(self, executable_path="chromedriver", port=0, ++ def __init__(self, executable_path="/usr/lib/chromium/chromedriver", port=0, + chrome_options=None, service_args=None, + desired_capabilities=None, service_log_path=None): + """ diff --git a/debian/patches/series b/debian/patches/series index e01264a..76964b6 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ 0003-Remove-superfluous-pbr-config.patch 0004-changelog-naming.patch 0005-Use-x_ignore_nofocus-from-usr-lib-firefoxdriver.patch +Pick-Debian-s-location-of-chromedriver.patch -- 2.6.2