[Openstack] [oslo] Issues with pbr when building custom packages

Sam Morrison sorrison at gmail.com
Wed Jun 8 06:59:37 UTC 2016


We have been building our own packages for a few years now and I’ve just started to build packages for liberty.

I got an error from pbr telling me my version was incompatible. An example version we were producing was 12.0.3+a74~gea340da+trusty

 So had a read of http://docs.openstack.org/developer/pbr/semver.html <http://docs.openstack.org/developer/pbr/semver.html> and have fixed it to be this format however I’m still getting an error:

Exception occurred:
  File "/usr/lib/python2.7/dist-packages/pbr/version.py", line 215, in from_pip_string
    % (remainder, version_string))
ValueError: Unknown remainder ['gea340da'] in '12.0.3.a74.gea340da'

From the website mentioned above this seems like it should be valid. I’ve had a look in the code and it looks like this type of version isn’t supported.

So is this a bug in pbr or am I doing something wrong? We build packages based on git versions so I want to keep the hash in there.

Thanks,
Sam


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160608/b85fdd88/attachment.html>


More information about the Openstack mailing list