From 8e75590ccd4519361f806a64afecabde16515112 Mon Sep 17 00:00:00 2001 From: Cursor Date: Mon, 7 Sep 2026 13:50:56 +0000 Subject: [PATCH] fix Python CI by restoring beautifulsoup4 <4.13 pin Dependabot #45 widened the beautifulsoup4 range to 4.15.x, which breaks AutoScraper 1.1.x (empty build results) and caused integration failures on subsequent Python PRs. Restore the intentional 4.12.x pin and ignore beautifulsoup4 >=4.13 in Dependabot so it is not re-bumped. Co-authored-by: ProxyMesh AI --- .github/dependabot.yml | 4 ++++ python/requirements.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1f1164b..6449797 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -44,6 +44,10 @@ updates: labels: - "dependencies" - "automerge" + # AutoScraper 1.1.x is incompatible with beautifulsoup4 4.13+ (empty build results). + ignore: + - dependency-name: "beautifulsoup4" + versions: [">=4.13.0"] groups: prod-minor-patch: dependency-type: "production" diff --git a/python/requirements.txt b/python/requirements.txt index 841d553..d183864 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -9,6 +9,6 @@ pycurl>=7.47.0; platform_system != "Windows" cloudscraper>=1.2.71 autoscraper>=1.1.14 # autoscraper 1.1.x fails build() with beautifulsoup4 4.13+ (empty learned list); keep 4.12.x -beautifulsoup4>=4.15.0,<4.16 +beautifulsoup4>=4.12.0,<4.13 lxml>=6.1.3 scrapy>=2.18.0