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 diff --git a/tests/scancode/test_api.py b/tests/scancode/test_api.py index bcecff581f..1d60312460 100644 --- a/tests/scancode/test_api.py +++ b/tests/scancode/test_api.py @@ -53,9 +53,9 @@ def test_get_file_info_include_size(self): info = api.get_file_info(test_dir) expected = [ ('size', 0), - ('sha1', None), - ('md5', None), - ('sha256', None), + ('sha1', 0), + ('md5', 0), + ('sha256', 0), ('mime_type', 'inode/x-empty'), ('file_type', 'empty'), ('programming_language', None),