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

Launchpad Bug Tracker 1959402 at bugs.launchpad.net
Sat Jan 29 07:13:43 UTC 2022


This bug was fixed in the package heat-dashboard -
6.0.0+git2022012813.458e9b0-0ubuntu1

---------------
heat-dashboard (6.0.0+git2022012813.458e9b0-0ubuntu1) jammy; urgency=medium

  * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).
  * d/bundle-xstatic.sh: Ensure xstatic asset versions are confined by the
    corresponding upper-constraints branch.
  * d/bundle-xstatic.sh, d/README.source: Unpack xstatic assets into ./xstatic/
    directory of source package as part of the bundle.xstatic.sh script. This
    will allow for patching xstatic assets in the future.
  * New upstream snapshot for OpenStack Yoga.
  * Refresh xstatic assets.

 -- Corey Bryant <corey.bryant at canonical.com>  Fri, 28 Jan 2022 13:23:46
-0500

** Changed in: heat-dashboard (Ubuntu Jammy)
       Status: Triaged => Fix Released

-- 
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:
  Triaged
Status in Ubuntu Cloud Archive yoga series:
  Triaged
Status in heat-dashboard package in Ubuntu:
  Fix Released
Status in ironic-ui package in Ubuntu:
  Triaged
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:
  Triaged
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:
  Triaged
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:
  Triaged
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