Skip to content

Entry in .git_archival.txt makes repository artifacts non-reproducible #1394

Open
@dvzrv

Description

@dvzrv

Describe the bug
Hi 👋

We are currently rebuilding all relevant packages against Python 3.12 on Arch Linux.

While revisiting the proxy.py package I noticed that it uses setuptools_scm and a .git_archival.txt setup which makes the artifacts of this repository non-reproducible.

As we would like to be able to rely on transparent sources (those not created by a custom process) for our packages, it would be great if you could revise/ remove the .git_archival.txt file from this repository.

To Reproduce
Steps to reproduce the behavior:

  1. Download an auto-generated tarball of a tag/ tag commit right after its creation
  2. Download an auto-generated tarball of a tag/ tag commit after an additional commit has been done on the default branch
  3. The checksums do not match

Expected behavior
The artifacts of a repository (the auto-generated tarballs) do not change due to arbitrary changes to the repository done after a tag.

Version information

  • OS: all
  • Browser: n/a
  • Device: n/a
  • proxy.py Version: all with the .git_archival.txt

Additional context
The problem has been discussed upstream in pypa/setuptools-scm#806 and led to them revising (removing) the problematic content in question in their documentation (pypa/setuptools-scm#1033).

Screenshots
n/a

Metadata

Metadata

Assignees

Labels

BugBug report in proxy server

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions