Skip to content

Commit 6ba6d9f

Browse files
authored
Pin fingerprints and normality to fix the Docker build #1795 (#1796)
Signed-off-by: tdruez <[email protected]>
1 parent 881e62d commit 6ba6d9f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ dependencies = [
6161
"commoncode==32.3.0",
6262
"Beautifulsoup4[chardet]==4.13.4",
6363
"packageurl-python==0.17.1",
64+
# Workaround issue https://github.com/aboutcode-org/scancode.io/issues/1795
65+
"fingerprints==1.2.3",
66+
"normality==2.6.1",
6467
# FetchCode
6568
"fetchcode-container==1.2.3.210512; sys_platform == 'linux'",
6669
# Inspectors

scanpipe/tests/test_pipelines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,7 @@ def test_scanpipe_fetch_scores_pipeline_integration(self, mock_is_available):
13981398
self.assertIsNotNone(scorecard_entry)
13991399
self.assertEqual("ossf-scorecard", scorecard_entry.scoring_tool)
14001400
self.assertEqual("v5.2.1", scorecard_entry.scoring_tool_version)
1401-
self.assertEqual("9.7", scorecard_entry.score)
1401+
self.assertTrue(scorecard_entry.score)
14021402

14031403
def test_scanpipe_resolve_dependencies_pipeline_integration(self):
14041404
pipeline_name = "resolve_dependencies"

0 commit comments

Comments
 (0)