From d4f73f9a7943739d73d08d554fec291d2f38eb40 Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Sat, 15 Feb 2025 03:03:49 +0530 Subject: [PATCH] Bump commoncode to v32.2.0 and pin bs4 There was an issue in copyright scan and other places which was caused by a breaking change in bs4, which is fixed in commoncode with https://github.com/aboutcode-org/commoncode/releases/tag/v32.2.0 Reference: https://github.com/aboutcode-org/scancode-toolkit/issues/4129 Reference: https://github.com/aboutcode-org/commoncode/issues/79 Signed-off-by: Ayan Sinha Mahapatra --- requirements.txt | 4 ++-- setup-mini.cfg | 4 ++-- setup.cfg | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/requirements.txt b/requirements.txt index 7d4e409c81..4fed6d9376 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ attrs==23.2.0 banal==1.0.6 -beautifulsoup4==4.12.3 +beautifulsoup4==4.13.3 binaryornot==0.4.4 beartype==0.17.2 boolean.py==4.0 @@ -10,7 +10,7 @@ chardet==5.0.0 charset-normalizer==2.1.0 click==8.1.7 colorama==0.4.5 -commoncode==32.0.0 +commoncode==32.2.0 construct==2.10.68 container-inspector==31.1.0 cryptography==42.0.5 diff --git a/setup-mini.cfg b/setup-mini.cfg index 79a2f3265b..05a143fd01 100644 --- a/setup-mini.cfg +++ b/setup-mini.cfg @@ -64,12 +64,12 @@ python_requires = >=3.9 install_requires = attrs >= 18.1,!=20.1.0;python_version<'3.11' attrs >= 22.1.0;python_version>='3.11' - Beautifulsoup4 >= 4.0.0 + Beautifulsoup4[chardet] >= 4.13.0 boolean.py >= 4.0 chardet >= 3.0.0 click >= 6.7, !=7.0, !=8.1.8 colorama >= 0.3.9 - commoncode >= 32.0.0 + commoncode >= 32.2.0 container-inspector >= 31.0.0 debian-inspector >= 31.1.0 dparse2 >= 0.7.0 diff --git a/setup.cfg b/setup.cfg index d4f115c5f4..c4af850ce1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -64,12 +64,12 @@ python_requires = >=3.9 install_requires = attrs >= 18.1,!=20.1.0;python_version<'3.11' attrs >= 22.1.0;python_version>='3.11' - Beautifulsoup4 >= 4.0.0 + Beautifulsoup4[chardet] >= 4.13.0 boolean.py >= 4.0 chardet >= 3.0.0 click >= 6.7, !=7.0, !=8.1.8 colorama >= 0.3.9 - commoncode >= 32.0.0 + commoncode >= 32.2.0 container-inspector >= 31.0.0 debian-inspector >= 31.1.0 dparse2 >= 0.7.0