Skip to content

Make follow-up improvements to validate_record #156

@pradyunsg

Description

@pradyunsg

There's also a few more changes to make around this (as a follow up to #105):

  • rename the argument to validate_contents, and make it kw-only.
  • should validate that everything has a hash/size even if validate_contents is False.
  • should validate that RECORD signatures are not mentioned in the RECORD.
  • should validate that the RECORD file is mentioned without hash or size.
  • documentation needs to present an example and add cross-references to/from WheelSource.validation_error.

Metadata

Metadata

Assignees

Labels

component: recordsRelated to installer.recordscomponent: sourcesRelated to WheelSource and friendstype: taskSomething that needs to be done that is not a bug or feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions