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)