From ab6fd304c491b09387a7e657a800fffe69d4f28c Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Thu, 27 May 2021 16:06:51 +0800 Subject: [PATCH] [Python] Change development release postfix to `dev` (#6988) --- cmake/Python_version.in | 2 +- python-package/xgboost/VERSION | 2 +- tests/python/test_cli.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/Python_version.in b/cmake/Python_version.in index 219b1d74a..67b48af46 100644 --- a/cmake/Python_version.in +++ b/cmake/Python_version.in @@ -1 +1 @@ -@xgboost_VERSION_MAJOR@.@xgboost_VERSION_MINOR@.@xgboost_VERSION_PATCH@-SNAPSHOT \ No newline at end of file +@xgboost_VERSION_MAJOR@.@xgboost_VERSION_MINOR@.@xgboost_VERSION_PATCH@-dev \ No newline at end of file diff --git a/python-package/xgboost/VERSION b/python-package/xgboost/VERSION index d65536257..59b9db0c7 100644 --- a/python-package/xgboost/VERSION +++ b/python-package/xgboost/VERSION @@ -1 +1 @@ -1.5.0-SNAPSHOT +1.5.0-dev diff --git a/tests/python/test_cli.py b/tests/python/test_cli.py index 26860129a..4cb9c729d 100644 --- a/tests/python/test_cli.py +++ b/tests/python/test_cli.py @@ -129,7 +129,7 @@ eval[test] = {data_path} msg = completed.stdout.decode('utf-8') assert msg.find('XGBoost') != -1 v = xgboost.__version__ - if v.find('SNAPSHOT') != -1: + if v.find('dev') != -1: assert msg.split(':')[1].strip() == v.split('-')[0] elif v.find('rc') != -1: assert msg.split(':')[1].strip() == v.split('rc')[0]