ValueError: git history requires a target version of pbr.version.SemanticVersion(0.1.1), but target version is pbr.version.SemanticVersion(0.1.0)

Bug #1718820 reported by zhangyangyang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-hnvclient
New
Undecided
Unassigned

Bug Description

py27 error:

 /home/jenkins/workspace/gate-python-hnvclient-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/setuptools/dist.py:34: DeprecationWarning: Do not call this function
2017-09-21 16:32:29.589740 | warnings.warn("Do not call this function", DeprecationWarning)
2017-09-21 16:32:29.589776 | ERROR:root:Error parsing
2017-09-21 16:32:29.589816 | Traceback (most recent call last):
2017-09-21 16:32:29.589914 | File "/home/jenkins/workspace/gate-python-hnvclient-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/pbr/core.py", line 111, in pbr
2017-09-21 16:32:29.589964 | attrs = util.cfg_to_args(path, dist.script_args)
2017-09-21 16:32:29.590066 | File "/home/jenkins/workspace/gate-python-hnvclient-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/pbr/util.py", line 249, in cfg_to_args
2017-09-21 16:32:29.590133 | pbr.hooks.setup_hook(config)
2017-09-21 16:32:29.590243 | File "/home/jenkins/workspace/gate-python-hnvclient-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/pbr/hooks/__init__.py", line 25, in setup_hook
2017-09-21 16:32:29.590282 | metadata_config.run()
2017-09-21 16:32:29.590383 | File "/home/jenkins/workspace/gate-python-hnvclient-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/pbr/hooks/base.py", line 27, in run
2017-09-21 16:32:29.590414 | self.hook()
2017-09-21 16:32:29.590517 | File "/home/jenkins/workspace/gate-python-hnvclient-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/pbr/hooks/metadata.py", line 26, in hook
2017-09-21 16:32:29.590569 | self.config['name'], self.config.get('version', None))
2017-09-21 16:32:29.590673 | File "/home/jenkins/workspace/gate-python-hnvclient-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/pbr/packaging.py", line 740, in get_version
2017-09-21 16:32:29.590720 | version = _get_version_from_git(pre_version)
2017-09-21 16:32:29.590830 | File "/home/jenkins/workspace/gate-python-hnvclient-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/pbr/packaging.py", line 680, in _get_version_from_git
2017-09-21 16:32:29.590886 | result = _get_version_from_git_target(git_dir, target_version)
2017-09-21 16:32:29.591000 | File "/home/jenkins/workspace/gate-python-hnvclient-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/pbr/packaging.py", line 642, in _get_version_from_git_target
2017-09-21 16:32:29.591047 | dict(new=new_version, target=target_version))
2017-09-21 16:32:29.591142 | ValueError: git history requires a target version of pbr.version.SemanticVersion(0.1.1), but target version is pbr.version.SemanticVersion(0.1.0)
2017-09-21 16:32:29.591332 | error in setup command: Error parsing /home/jenkins/workspace/gate-python-hnvclient-python27-ubuntu-xenial/setup.cfg: ValueError: git history requires a target version of pbr.version.SemanticVersion(0.1.1), but target version is pbr.version.SemanticVersion(0.1.0)

http://logs.openstack.org/67/506267/1/check/gate-python-hnvclient-python27-ubuntu-xenial/9e5d6c7/console.html

Changed in python-hnvclient:
assignee: nobody → zhangyangyang (zhangyangyang)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-hnvclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/506444

Changed in python-hnvclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-hnvclient (master)

Change abandoned by zhangyangyang (<email address hidden>) on branch: master
Review: https://review.openstack.org/506444

Changed in python-hnvclient:
assignee: zhangyangyang (zhangyangyang) → nobody
status: In Progress → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.