Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.git_archival.txt #695

Closed
LecrisUT opened this issue Apr 11, 2024 · 0 comments · Fixed by #706
Closed

.git_archival.txt #695

LecrisUT opened this issue Apr 11, 2024 · 0 comments · Fixed by #706

Comments

@LecrisUT
Copy link
Collaborator

LecrisUT commented Apr 11, 2024

I have just figured out why a lot of times I had sha256sum mismatches on tag archives (here included):

$ diff beakerlib-1.30-old/ beakerlib-1.30-new/
diff beakerlib-1.30-old/.git_archival.txt beakerlib-1.30-new/.git_archival.txt
4c4
< ref-names: HEAD -> master, tag: 1.30
---
> ref-names: tag: 1.30

Are there better ways of writing the .git_archival.txt to avoid the HEAD -> master inclusion? The describe-name already has the tag, is that sufficient for setuptools-scm? There are many projects affected by this :(

Also upstream issue: pypa/setuptools_scm#1030

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant