summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-12-24 10:05:20 +0100
committerGitHub <noreply@github.com>2021-12-24 10:05:20 +0100
commit7bef2cc8dc8f85e6954803a50b66da26f05a2562 (patch)
tree03b3ec0eaf0509b5c5c4435d1f7bcc1127d20fe0
parent6300b0b4b2f620168143787a4dd8450b906b92a9 (diff)
parent81abc5f4c2d9373ef6f5287f6efd6b4d1f79e6c6 (diff)
Merge pull request #548 from searxng/dependabot/pip/master/selenium-4.1.0
Bump selenium from 3.141.0 to 4.1.0
-rwxr-xr-xmanage7
-rw-r--r--requirements-dev.txt4
2 files changed, 5 insertions, 6 deletions
diff --git a/manage b/manage
index 3a443390a..8eb347f4f 100755
--- a/manage
+++ b/manage
@@ -21,7 +21,7 @@ source "$(dirname "${BASH_SOURCE[0]}")/utils/lib_go.sh"
PYOBJECTS="searx"
PY_SETUP_EXTRAS='[test]'
-GECKODRIVER_VERSION="v0.28.0"
+GECKODRIVER_VERSION="v0.30.0"
export NODE_MINIMUM_VERSION="16.13.0"
# SPHINXOPTS=
@@ -485,10 +485,9 @@ gecko.driver() {
( set -e
pyenv.activate
- # TODO : check the current geckodriver version
- geckodriver -V > /dev/null 2>&1 || NOTFOUND=1
+ INSTALLED_VERSION=$(geckodriver -V 2> /dev/null | head -1 | awk '{ print "v" $2}') || INSTALLED_VERSION=""
set +e
- if [ -z "$NOTFOUND" ]; then
+ if [ "${INSTALLED_VERSION}" = "${GECKODRIVER_VERSION}" ]; then
build_msg INSTALL "geckodriver already installed"
return
fi
diff --git a/requirements-dev.txt b/requirements-dev.txt
index 9556a302b..fe918254c 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -3,8 +3,8 @@ nose2[coverage_plugin]==0.10.0
cov-core==1.15.0
pycodestyle==2.8.0
pylint==2.12.2
-splinter==0.16.0
-selenium==3.141.0
+splinter==0.17.0
+selenium==4.1.0
twine==3.7.1
Pallets-Sphinx-Themes==2.0.2
Sphinx==4.3.1