[Starlingx-discuss] enable pbr version

Jeremy Stanley fungi at yuggoth.org
Wed Mar 25 17:26:03 UTC 2020


On 2020-03-25 14:11:51 +0000 (+0000), Penney, Don wrote:
[...]
> Looking further through the build.log, there’s the following:
> + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/starlingx-dashboard-2.9999.9999.rc1.dev23-0.tis.x86_64
> /usr/lib/python2.7/site-packages/setuptools/dist.py:355: UserWarning: Normalizing '2.9999.9999.rc1.dev23' to '2.9999.9999rc1.dev23'
>   normalized_version,
> running install
> 
> Maybe the python build only allows 4 version components?
[...]

The number of components is not the problem. If you want that rc1 to
be a separate component it needs to be 2.9999.9999.0rc1.dev23 since
PEP 440 normalization considers 2.9999.9999rc1.dev23 to be the
canonical form of 2.9999.9999.rc1.dev23 and Setuptools is therefore
correcting it for you:

    https://www.python.org/dev/peps/pep-0440/#pre-release-separators

-- 
Jeremy Stanley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20200325/a630bd1a/attachment.sig>


More information about the Starlingx-discuss mailing list