Skip to content

Support --hash when constructing the Requirements #4

@MarcelBochtler

Description

@MarcelBochtler

Constructing a requirement using the following string fails.

requests==2.25.1 \
    --hash=sha256:c210084e36a42ae6b9219e00e48287def368a26d03a048ddad7bfee44f75871e \
    --hash=sha256:27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804

Please change the parsing to support this flag.

req = REQUIREMENT.parseString(requirement_string)

Related to aboutcode-org/python-inspector#243

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions