From a8d0d9aa3a08341958b9389c42adce8681182972 Mon Sep 17 00:00:00 2001 From: Martin Lehmann <1579756+Wuestengecko@users.noreply.github.com> Date: Tue, 20 Oct 2020 17:47:04 +0200 Subject: [PATCH] Fix missing commit info in auto-generated archives When the repository was restructured to what it is now, the `.gitattributes` file was not updated to reflect the new paths. As a result, the current commit information is no longer inserted into `ploty/_version.py` during automatic tarball exports (as done by Github). With no information being provided implicitly by Git itself, this means the version information is entirely unavailable to the build system at `packages/python/ploty/setup.py`; this in turn results in a reported version number of `0+unknown` for builds from these archives. --- .gitattributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index ce8d6ba9cd5..de2c3848b55 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -plotly/_version.py export-subst +packages/python/plotly/plotly/_version.py export-subst