From 45d5e961dc44a2d35d9450cde2dd0f2aaea0f96a Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 29 Sep 2025 11:46:37 +0200 Subject: [PATCH] Build - Pinning library versions to fix tests --- changedetectionio/run_socks_proxy_tests.sh | 2 +- requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/changedetectionio/run_socks_proxy_tests.sh b/changedetectionio/run_socks_proxy_tests.sh index 6db4bb411..8214c1cf0 100755 --- a/changedetectionio/run_socks_proxy_tests.sh +++ b/changedetectionio/run_socks_proxy_tests.sh @@ -9,7 +9,7 @@ set -x # SOCKS5 related - start simple Socks5 proxy server # SOCKSTEST=xyz should show in the logs of this service to confirm it fetched docker run --network changedet-network -d --hostname socks5proxy --rm --name socks5proxy -p 1080:1080 -e PROXY_USER=proxy_user123 -e PROXY_PASSWORD=proxy_pass123 serjs/go-socks5-proxy -docker run --network changedet-network -d --hostname socks5proxy-noauth --rm -p 1081:1080 --name socks5proxy-noauth serjs/go-socks5-proxy +docker run --network changedet-network -d --hostname socks5proxy-noauth --rm -p 1081:1080 --name socks5proxy-noauth -e REQUIRE_AUTH=false serjs/go-socks5-proxy echo "---------------------------------- SOCKS5 -------------------" # SOCKS5 related - test from proxies.json diff --git a/requirements.txt b/requirements.txt index fa8fe8449..2457d6a43 100644 --- a/requirements.txt +++ b/requirements.txt @@ -51,8 +51,8 @@ cryptography==44.0.1 # use any version other than 2.0.x due to https://github.com/eclipse/paho.mqtt.python/issues/814 paho-mqtt!=2.0.* -# Used for CSS filtering -beautifulsoup4>=4.0.0 +# Used for CSS filtering, JSON extraction from HTML +beautifulsoup4>=4.0.0,<=4.13.5 # XPath filtering, lxml is required by bs4 anyway, but put it here to be safe. # #2328 - 5.2.0 and 5.2.1 had extra CPU flag CFLAGS set which was not compatible on older hardware