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]