Skip to content

Reproducible .whl files #143

@agronholm

Description

@agronholm

Originally reported by: Barry Warsaw (Bitbucket: warsaw, GitHub: warsaw)


Over in Debian-land, there is an initiative to create reproducible builds. As we use .whl files for pip and virtualenv, we want the .whl files to be reproducible too. Here is the Debian bug:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776026

and the provided patch against the current Debian version.

https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;att=1;bug=776026;filename=wheel_reproducible.patch

The bdist_wheel.py and metadata.py chunks seem reasonable, but I don't like hardcoding the timestamp in archive.py. I don't have a better idea currently though -- maybe you do?

I'll try to put together a proper pull request once I think of a way to handle the timestamps.


Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions