diff --git a/python/pyproject.toml b/python/pyproject.toml index fbf5497b983f7..b977797e07d28 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -69,5 +69,6 @@ where = ["."] pyarrow = ["*.pxd", "*.pyx", "includes/*.pxd"] [tool.setuptools_scm] -root = ".." -version_file = "pyarrow/_generated_version.py" +root = '..' +version_file = 'pyarrow/_generated_version.py' +version_scheme = 'guess-next-dev' diff --git a/python/setup.py b/python/setup.py index 96f6a53c93a27..54c2af99968e0 100755 --- a/python/setup.py +++ b/python/setup.py @@ -490,7 +490,6 @@ def has_ext_modules(foo): }, use_scm_version={ 'parse': parse_git, - 'version_scheme': guess_next_dev_version }, tests_require=['pytest', 'pandas', 'hypothesis'], test_suite='pyarrow.tests',