From a173baf1b0f98479fdfceacb0917803852e2c940 Mon Sep 17 00:00:00 2001 From: Spenser Gilliland Date: Wed, 13 May 2020 13:14:07 -0700 Subject: [PATCH] fix: use exact version --- python/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/setup.py b/python/setup.py index a2957306d44d..4c3b5b0dce47 100644 --- a/python/setup.py +++ b/python/setup.py @@ -172,14 +172,14 @@ def get_version(pkg_dir, main_branch = "master"): # This comes from Jenkins for upstream/downstream builds if 'DEV_VERSION' in os.environ: - version = version + "-" + os.environ['DEV_VERSION'] + version = version + ".dev0+" + os.environ['DEV_VERSION'] return version def get_package(env, pkg_name, pkg_version): if env in os.environ and os.environ[env] != "latest": - return "%s==%s-%s" % (pkg_name, pkg_version, os.environ[env]) + return "%s==%s.dev0+%s" % (pkg_name, pkg_version, os.environ[env]) else: return "%s==%s" % (pkg_name, pkg_version)