Skip to content

Missing continuation \ in requirement files cause hashes to be silently ignored #11935

Closed
@sbidoul

Description

@sbidoul

A requirements file like this (note the missing \ after the requirement) can be installed without error nor warning, and the provided hash is silently ignored.

lxml==4.9.2
  --hash sha256:7b515674acfdcadb0eb5d00d8a709868173acece5cb0be3dd165950cbfdf540x

This is not strictly a bug but this can be misleading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions