From b46c1a2733b7e63240de3af88d4be51ecc3aefbc Mon Sep 17 00:00:00 2001 From: "Korn, Uwe" Date: Tue, 27 Feb 2018 18:23:54 +0100 Subject: [PATCH] =?UTF-8?q?ARROW-2230:=20[Python]=C2=A0Strip=20catch-all?= =?UTF-8?q?=20tag=20matching=20from=20git-describe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python/setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/setup.py b/python/setup.py index 849d1203be7..2a6326489d3 100644 --- a/python/setup.py +++ b/python/setup.py @@ -422,6 +422,8 @@ def parse_version(root): from setuptools_scm import version_from_scm import setuptools_scm.git describe = setuptools_scm.git.DEFAULT_DESCRIBE + " --match 'apache-arrow-[0-9]*'" + # Strip catchall from the commandline + describe = describe.replace("--match *.*", "") version = setuptools_scm.git.parse(root, describe) if not version: return version_from_scm(root)