Skip to content

Reproducible sdist builds #1102

@zpah

Description

@zpah
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

Poetry (v0.12.15) makes different sdist archives by each build command invoke. It`s poor.

Would be great if poetry generated reproducible sdists for concrete SCM commits (with identical checksums!).
In my setup.py-based projects i achieve this behaviour by setuptools.command.sdist substitution, where:

  • use bz2 archiver (gzip store current timestamp in archive)
  • sort archive items by path
  • assign owner/group of tar items to root:root
  • assign archive items timestamps from SCM (Mercurial, Git) commit metadata

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions