Skip to content

Commit a7999a2

Browse files
Merge pull request #4149 from aboutcode-org/update-bs4-commoncode
Bump commoncode to v32.2.0 and pin bs4
2 parents 751fcbd + 6daeb21 commit a7999a2

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
attrs==23.2.0
22
banal==1.0.6
3-
beautifulsoup4==4.12.3
3+
beautifulsoup4==4.13.3
44
binaryornot==0.4.4
55
beartype==0.17.2
66
boolean.py==4.0
@@ -10,7 +10,7 @@ chardet==5.0.0
1010
charset-normalizer==2.1.0
1111
click==8.1.7
1212
colorama==0.4.5
13-
commoncode==32.0.0
13+
commoncode==32.2.0
1414
construct==2.10.68
1515
container-inspector==31.1.0
1616
cryptography==42.0.5

setup-mini.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ python_requires = >=3.9
6464
install_requires =
6565
attrs >= 18.1,!=20.1.0;python_version<'3.11'
6666
attrs >= 22.1.0;python_version>='3.11'
67-
Beautifulsoup4 >= 4.0.0
67+
Beautifulsoup4[chardet] >= 4.13.0
6868
boolean.py >= 4.0
6969
chardet >= 3.0.0
7070
click >= 6.7, !=7.0, !=8.1.8
7171
colorama >= 0.3.9
72-
commoncode >= 32.0.0
72+
commoncode >= 32.2.0
7373
container-inspector >= 31.0.0
7474
debian-inspector >= 31.1.0
7575
dparse2 >= 0.7.0

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ python_requires = >=3.9
6464
install_requires =
6565
attrs >= 18.1,!=20.1.0;python_version<'3.11'
6666
attrs >= 22.1.0;python_version>='3.11'
67-
Beautifulsoup4 >= 4.0.0
67+
Beautifulsoup4[chardet] >= 4.13.0
6868
boolean.py >= 4.0
6969
chardet >= 3.0.0
7070
click >= 6.7, !=7.0, !=8.1.8
7171
colorama >= 0.3.9
72-
commoncode >= 32.0.0
72+
commoncode >= 32.2.0
7373
container-inspector >= 31.0.0
7474
debian-inspector >= 31.1.0
7575
dparse2 >= 0.7.0

tests/scancode/test_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ def test_get_file_info_include_size(self):
5353
info = api.get_file_info(test_dir)
5454
expected = [
5555
('size', 0),
56-
('sha1', None),
57-
('md5', None),
58-
('sha256', None),
56+
('sha1', 0),
57+
('md5', 0),
58+
('sha256', 0),
5959
('mime_type', 'inode/x-empty'),
6060
('file_type', 'empty'),
6161
('programming_language', None),

0 commit comments

Comments
 (0)