[Bug 1959402] Re: Ensure PBR for openstack dashboard plugins handle ~git versioning

Corey Bryant 1959402 at bugs.launchpad.net
Mon Jan 31 15:10:28 UTC 2022


This bug was fixed in the package watcher-dashboard - 6.0.0+git2021120912.146e547-0ubuntu2~cloud0
---------------

 watcher-dashboard (6.0.0+git2021120912.146e547-0ubuntu2~cloud0) focal-yoga; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 watcher-dashboard (6.0.0+git2021120912.146e547-0ubuntu2) jammy; urgency=medium
 .
   * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1959402

Title:
  Ensure PBR for openstack dashboard plugins handle ~git versioning

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive yoga series:
  Fix Released
Status in heat-dashboard package in Ubuntu:
  Fix Released
Status in ironic-ui package in Ubuntu:
  Fix Released
Status in magnum-ui package in Ubuntu:
  Fix Released
Status in murano-dashboard package in Ubuntu:
  Fix Released
Status in sahara-dashboard package in Ubuntu:
  Fix Released
Status in trove-dashboard package in Ubuntu:
  Fix Released
Status in watcher-dashboard package in Ubuntu:
  Fix Released
Status in zaqar-ui package in Ubuntu:
  Fix Released
Status in heat-dashboard source package in Jammy:
  Fix Released
Status in ironic-ui source package in Jammy:
  Fix Released
Status in magnum-ui source package in Jammy:
  Fix Released
Status in murano-dashboard source package in Jammy:
  Fix Released
Status in sahara-dashboard source package in Jammy:
  Fix Released
Status in trove-dashboard source package in Jammy:
  Fix Released
Status in watcher-dashboard source package in Jammy:
  Fix Released
Status in zaqar-ui source package in Jammy:
  Fix Released

Bug description:
  During development of Ubuntu we package snapshots from upstream git
  commits and version the packages to show the date/commit of the
  snapshot.

  This is resulting in PBR failing hard for some of the openstack
  dashboard plugins. Changes need to be made to set PBR_VERSION to a
  version that pbr approves of.

    File "/usr/lib/python3/dist-packages/ironic_ui/__init__.py", line 16, in <module>                                                          
      __version__ = pbr.version.VersionInfo(                 
    File "/usr/lib/python3/dist-packages/pbr/version.py", line 467, in version_string                                                          
      return self.semantic_version().brief_string()
    File "/usr/lib/python3/dist-packages/pbr/version.py", line 462, in semantic_version                                                        
      self._semantic = self._get_version_from_pkg_resources()
    File "/usr/lib/python3/dist-packages/pbr/version.py", line 450, in _get_version_from_pkg_resources                                         
      return SemanticVersion.from_pip_string(result_string)
    File "/usr/lib/python3/dist-packages/pbr/version.py", line 145, in from_pip_string                                                         
      return klass._from_pip_string_unsafe(version_string)
    File "/usr/lib/python3/dist-packages/pbr/version.py", line 220, in _from_pip_string_unsafe                                                 
      raise ValueError(                                                 
  ValueError: Unknown remainder ['+git2021120912', '07e5607'] in '5.0.0+git2021120912.07e5607'

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1959402/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list