Skip to content

Feature request: Support dependency hashing #716

Open
@bigjools

Description

@bigjools

Given the focus on supply chain hardening these days, I was a little surprised to see that Hatch doesn't support dependency hashing.

Requirements files with hashes (generated by pip-compile in this case) typically take the form:

alembic==1.9.1 \
    --hash=sha256:a9781ed0979a20341c2cbb56bd22bd8db4fc1913f955e705444bd3a97c59fa32 \
    --hash=sha256:f9f76e41061f5ebe27d4fe92600df9dd612521a7683f904dab328ba02cffa5a2

I only just started investigating Hatch so I have no idea how this could work in practice. I filed a similar bug on hatch-requirements-txt as ideally I want to read the contents of requirements files that are generated by pip-compile, but that could/would be difficult in this project without the above plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions