Skip to content

Python: Dependencies are looked up from incorrect urls #241

Open
@jenshnielsen

Description

@jenshnielsen

When running component-detection on one of my projects I am seeing output like the following.

[INFO] Getting Python data from https://pypi.org/pypi/pywinpty>=1.1.0/json
[WARN] Received 404 Not Found from https://pypi.org/pypi/pywinpty>=1.1.0/json
[WARN] Dependency Package pywinpty>=1.1.0 not found in Pypi. Skipping package

It seems like component-detection is in some situations passing an incorrect url which contains the version specifier and obviously does not resolve. This seems to happen for transitive dependencies that are constrained to a specific version by some other direct or transitive dependency.

Metadata

Metadata

Assignees

Labels

detector:pipThe pip detectorstatus:requirementsFull requirements are not yet known, so implementation should not be startedtype:bugBug fix of existing functionality

Type

No type

Projects

Status

In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions