Skip to content

Adding tests to ensure pip install is reproducible #7808

Open
@FRidh

Description

@FRidh

Environment

  • Nixpkgs at 9a4d723e436d8c1b94782dbff6d2d8dd4bf5dce5
  • pip version: 20.0.2
  • Python version: CPython 3.7
  • OS: Any Linux OS using Nix builds

Description
Using pip at 19.3.1 building of Python packages was reproducible, however, since we upgraded to 20.0.2 that is no longer the case (NixOS/nixpkgs#81441). The issue is that bytecode now refers to a unpacked-wheel folder (see e.g. https://r13y.com/diff/b03e875784ba16e60ec59d1d5e720b13fc7ae1311edf409b819b0b264acd5393-aba2cac73c5234af8fbf694100bc631800ca397ad7afeed335d38895322a7c71.html).

The function for this unpacked-wheel was added in #7483, I have not bisected this any further though cc @chrahunt @raboof

Expected behavior
Reproducible build.

How to Reproduce

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: testsTesting and related thingsstate: awaiting PRFeature discussed, PR is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions