Skip to content

Solver should report exact package hash that was used to install a package #5102

@fridex

Description

@fridex

Is your feature request related to a problem? Please describe.

Currently, Thoth provides all the artifact hashes in the lockfile that were found on the index and it lets the pip installation procedure pick the suitable artifact. Instead, Thoth should point to an exact Python artifact that should be used during the installation process to make sure proper auditing is done.

Describe the solution you'd like

  • adjust solver logic to report artifact hash that was used during the installation and metadata extraction
  • the hash should be synced into Thoth's knowledge base specifically for the given OS and Python version
  • adviser should query hash when constructing the lock file

Metadata

Metadata

Labels

kind/featureCategorizes issue or PR as related to a new feature.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.sig/stack-guidanceCategorizes an issue or PR as relevant to SIG Stack Guidance.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

Status

📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions