File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ chardet==5.2.0
1010charset-normalizer == 3.4.2
1111click == 8.3.0
1212colorama == 0.4.6
13- commoncode == 32.4.0
13+ commoncode == 32.4.1
1414construct == 2.10.70
1515container-inspector == 33.0.0
1616cryptography == 45.0.4
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ install_requires =
7272 click >= 6.7, !=7.0, !=8.1.8; python_version<'3.10'
7373 click >= 8.2.0; python_version>='3.10'
7474 colorama >= 0.3.9
75- commoncode >= 32.3 .0
75+ commoncode >= 32.4 .0
7676 container-inspector >= 31.0.0
7777 debian-inspector >= 31.1.0
7878 dparse2 >= 0.7.0
Original file line number Diff line number Diff line change 2121from commoncode .system import on_windows
2222from commoncode .system import py36
2323from commoncode .system import py37
24+ from commoncode .system import py314
2425
2526from scancode .cli_test_utils import check_json_scan
2627from scancode .cli_test_utils import load_json_result
@@ -919,9 +920,9 @@ def test_scan_keep_temp_files_is_false_by_default():
919920 # the SCANCODE_TEMP dir is not deleted, but it should be empty
920921 assert os .path .exists (temp_directory )
921922 # this does not make sense but that's what is seen in practice
922- if on_mac_new_py :
923+ if on_mac :
923924 expected = 4
924- elif on_windows :
925+ elif on_windows or ( on_linux and py314 ) :
925926 expected = 2
926927 else :
927928 expected = 1
@@ -948,7 +949,7 @@ def test_scan_keep_temp_files_keeps_files():
948949 expected = 8 if (on_windows or on_mac_new_py ) else 7
949950 if on_mac_new_py :
950951 expected = 10
951- elif on_windows :
952+ elif on_windows or ( on_linux and py314 ) :
952953 expected = 8
953954 else :
954955 expected = 7
You can’t perform that action at this time.
0 commit comments