Could not install syntribos from source

Bug #1729547 reported by Jeremy Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
syntribos
Fix Released
Undecided
Jeremy Liu

Bug Description

After cloning syntribos repository and install from source, below error occurs:

[root@Ctrust syntribos]# python setup.py install
ERROR:root:Error parsing
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pbr/core.py", line 111, in pbr
    attrs = util.cfg_to_args(path, dist.script_args)
  File "/usr/lib/python2.7/site-packages/pbr/util.py", line 249, in cfg_to_args
    pbr.hooks.setup_hook(config)
  File "/usr/lib/python2.7/site-packages/pbr/hooks/__init__.py", line 25, in setup_hook
    metadata_config.run()
  File "/usr/lib/python2.7/site-packages/pbr/hooks/base.py", line 27, in run
    self.hook()
  File "/usr/lib/python2.7/site-packages/pbr/hooks/metadata.py", line 26, in hook
    self.config['name'], self.config.get('version', None))
  File "/usr/lib/python2.7/site-packages/pbr/packaging.py", line 740, in get_version
    version = _get_version_from_git(pre_version)
  File "/usr/lib/python2.7/site-packages/pbr/packaging.py", line 680, in _get_version_from_git
    result = _get_version_from_git_target(git_dir, target_version)
  File "/usr/lib/python2.7/site-packages/pbr/packaging.py", line 642, in _get_version_from_git_target
    dict(new=new_version, target=target_version))
ValueError: git history requires a target version of pbr.version.SemanticVersion(0.4.1), but target version is pbr.version.SemanticVersion(0.3.1)
error in setup command: Error parsing /root/syntribos/setup.cfg: ValueError: git history requires a target version of pbr.version.SemanticVersion(0.4.1), but target version is pbr.version.SemanticVersion(0.3.1)

Jeremy Liu (liujiong)
Changed in syntribos:
assignee: nobody → Jeremy Liu (liujiong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to syntribos (master)

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

Changed in syntribos:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to syntribos (master)

Reviewed: https://review.openstack.org/517232
Committed: https://git.openstack.org/cgit/openstack/syntribos/commit/?id=e1c54321518d8954715c64680782aaafd193bd05
Submitter: Zuul
Branch: master

commit e1c54321518d8954715c64680782aaafd193bd05
Author: Jeremy Liu <email address hidden>
Date: Thu Nov 2 17:51:34 2017 +0800

    Remove explicit version info from setup.cfg

    Version info can be retrieved from git history.

    Change-Id: I9a06017ec81aab2836a9b71febab8cecf7c1cb0c
    Closes-bug: #1729547

Changed in syntribos:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/syntribos 0.5.0

This issue was fixed in the openstack/syntribos 0.5.0 release.

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.