From fd01a133142584b33b4d00d44363e76589d51e0e Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 9 Oct 2023 17:26:15 +0200 Subject: [PATCH] try update both in sync --- .github/workflows/test-only.yml | 2 +- requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-only.yml b/.github/workflows/test-only.yml index 78e4f298..62afe38a 100644 --- a/.github/workflows/test-only.yml +++ b/.github/workflows/test-only.yml @@ -30,7 +30,7 @@ jobs: # Selenium+browserless # 117.0 didnt work.. try dev - docker run --network changedet-network -d --hostname selenium -p 4444:4444 --rm --shm-size="2g" selenium/standalone-chrome:dev + docker run --network changedet-network -d --hostname selenium -p 4444:4444 --rm --shm-size="2g" selenium/standalone-chrome:117.0 docker run --network changedet-network -d --hostname browserless -e "FUNCTION_BUILT_INS=[\"fs\",\"crypto\"]" -e "DEFAULT_LAUNCH_ARGS=[\"--window-size=1920,1080\"]" --rm -p 3000:3000 --shm-size="2g" browserless/chrome:1.53-chrome-stable - name: Build changedetection.io container for testing diff --git a/requirements.txt b/requirements.txt index 3289327c..bc53310e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -49,8 +49,8 @@ beautifulsoup4 # XPath filtering, lxml is required by bs4 anyway, but put it here to be safe. lxml -# 3.141 was missing socksVersion, 3.150 was not in pypi, so we try 4.1.0 -selenium~=4.6.1 +# 3.141 was missing socksVersion, 3.150 was not in pypi, so we try 4.13.0 which should also fix socks authentication problems +selenium~=4.13.0 # https://stackoverflow.com/questions/71652965/importerror-cannot-import-name-safe-str-cmp-from-werkzeug-security/71653849#71653849 # ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security'