From e135b0a58afecf94bdbb0f5da621bb7f13cc821f Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Thu, 20 Jun 2024 01:46:22 -0400 Subject: [PATCH] Enable export substitution for _version.py I'm not sure why this was missed, but when you install versioneer, it adds these attributes so that things like version/commit hash/etc. are correct when you make a git archive. Without this substitution, `test_git_revision` fails because there is no revision info in the archive tarball. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..1d0c519d0f --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +distributed/_version.py export-subst