diff --git a/pyproject.toml b/pyproject.toml index ba6579f523..51958ad2a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,6 +61,9 @@ dependencies = [ "commoncode==32.3.0", "Beautifulsoup4[chardet]==4.13.4", "packageurl-python==0.17.1", + # Workaround issue https://github.com/aboutcode-org/scancode.io/issues/1795 + "fingerprints==1.2.3", + "normality==2.6.1", # FetchCode "fetchcode-container==1.2.3.210512; sys_platform == 'linux'", # Inspectors diff --git a/scanpipe/tests/test_pipelines.py b/scanpipe/tests/test_pipelines.py index 68b226dcd7..1f33c64f83 100644 --- a/scanpipe/tests/test_pipelines.py +++ b/scanpipe/tests/test_pipelines.py @@ -1398,7 +1398,7 @@ def test_scanpipe_fetch_scores_pipeline_integration(self, mock_is_available): self.assertIsNotNone(scorecard_entry) self.assertEqual("ossf-scorecard", scorecard_entry.scoring_tool) self.assertEqual("v5.2.1", scorecard_entry.scoring_tool_version) - self.assertEqual("9.7", scorecard_entry.score) + self.assertTrue(scorecard_entry.score) def test_scanpipe_resolve_dependencies_pipeline_integration(self): pipeline_name = "resolve_dependencies"