aboutcode-org / aboutcode-org/scancode.io

resolve_dependencies fails when multiple manifest files are present in a project

Open
#1,957 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
215
Forks
203
Avg merge
4d 8h
Merged PRs (30d)
6

Description

When running the resolve_dependencies pipeline on a project that contains multiple manifest files, the pipeline fails.

In our case, the project includes several requirements.txt files located in different subfolders.

The error seems to happen in the step that collects manifest inputs, probably in the get_manifest_inputs function, which appears to expect a single manifest file, not a list of files.
As a result, instead of resolving dependencies for all manifests found in the codebase, the pipeline stops with an exception.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.