Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use local hashes in the requirements.txt file. #71

Open
dumol opened this issue Feb 11, 2025 · 1 comment
Open

Use local hashes in the requirements.txt file. #71

dumol opened this issue Feb 11, 2025 · 1 comment
Assignees
Labels

Comments

@dumol
Copy link
Contributor

dumol commented Feb 11, 2025

As per https://pip.pypa.io/en/stable/topics/secure-installs/#hash-checking-mode.

@dumol dumol added the security label Feb 11, 2025
@dumol dumol self-assigned this Feb 11, 2025
@adiroiban
Copy link
Member

Note that those hashes only work for direct dependencies.

For pythia, should be ok, as we only have simple dependencies ... with the exception of setuptools.

A better option is to use pip lock files. These files are generating hashed for the full dependency tree.

As we update the pip tooling, maybe we can try to look into using uv for pythia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants