pbr is failing to parse versions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
Fix Released
|
Critical
|
Robert Collins |
Bug Description
After tagging glance.store 0.0.1a2, this error was raised:
2014-08-25 11:03:21.216 | Syncing /opt/stack/
2014-08-25 11:03:21.263 | Syncing setup.py
2014-08-25 11:03:21.279 | + setup_package /opt/stack/
2014-08-25 11:03:21.279 | + local project_
2014-08-25 11:03:21.279 | + local flags=-e
2014-08-25 11:03:21.279 | + pip_install -e /opt/stack/
2014-08-25 11:03:21.287 | + sudo PIP_DOWNLOAD_
2014-08-25 11:03:21.584 | DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated. See https:/
2014-08-25 11:03:21.588 | Obtaining file://
2014-08-25 11:03:21.669 | Running setup.py (path:/
2014-08-25 11:03:22.109 | ERROR:root:Error parsing
2014-08-25 11:03:22.109 | Traceback (most recent call last):
2014-08-25 11:03:22.109 | File "/usr/local/
2014-08-25 11:03:22.109 | attrs = util.cfg_
2014-08-25 11:03:22.110 | File "/usr/local/
2014-08-25 11:03:22.110 | pbr.hooks.
2014-08-25 11:03:22.110 | File "/usr/local/
2014-08-25 11:03:22.110 | metadata_
2014-08-25 11:03:22.110 | File "/usr/local/
2014-08-25 11:03:22.110 | self.hook()
2014-08-25 11:03:22.110 | File "/usr/local/
2014-08-25 11:03:22.110 | self.config[
2014-08-25 11:03:22.111 | File "/usr/local/
2014-08-25 11:03:22.111 | version = _get_version_
2014-08-25 11:03:22.111 | File "/usr/local/
2014-08-25 11:03:22.111 | semver = version.
2014-08-25 11:03:22.111 | File "/usr/local/
2014-08-25 11:03:22.111 | raise ValueError('Unknown remainder %r' % (remainder,))
2014-08-25 11:03:22.111 | ValueError: Unknown remainder [u'1a2']
2014-08-25 11:03:22.111 | error in setup command: Error parsing /opt/stack/
2014-08-25 11:03:22.161 | Complete output from command python setup.py egg_info:
2014-08-25 11:03:22.161 | ERROR:root:Error parsing
2014-08-25 11:03:22.161 |
2014-08-25 11:03:22.161 | Traceback (most recent call last):
2014-08-25 11:03:22.161 |
2014-08-25 11:03:22.161 | File "/usr/local/
2014-08-25 11:03:22.161 |
2014-08-25 11:03:22.161 | attrs = util.cfg_
2014-08-25 11:03:22.161 |
2014-08-25 11:03:22.161 | File "/usr/local/
2014-08-25 11:03:22.161 |
2014-08-25 11:03:22.161 | pbr.hooks.
2014-08-25 11:03:22.161 |
2014-08-25 11:03:22.161 | File "/usr/local/
2014-08-25 11:03:22.161 |
2014-08-25 11:03:22.162 | metadata_
2014-08-25 11:03:22.162 |
2014-08-25 11:03:22.162 | File "/usr/local/
2014-08-25 11:03:22.162 |
2014-08-25 11:03:22.162 | self.hook()
2014-08-25 11:03:22.162 |
2014-08-25 11:03:22.162 | File "/usr/local/
2014-08-25 11:03:22.162 |
2014-08-25 11:03:22.162 | self.config[
2014-08-25 11:03:22.162 |
2014-08-25 11:03:22.162 | File "/usr/local/
2014-08-25 11:03:22.162 |
2014-08-25 11:03:22.162 | version = _get_version_
2014-08-25 11:03:22.162 |
2014-08-25 11:03:22.162 | File "/usr/local/
2014-08-25 11:03:22.162 |
2014-08-25 11:03:22.162 | semver = version.
2014-08-25 11:03:22.162 |
2014-08-25 11:03:22.162 | File "/usr/local/
2014-08-25 11:03:22.162 |
2014-08-25 11:03:22.162 | raise ValueError('Unknown remainder %r' % (remainder,))
2014-08-25 11:03:22.162 |
2014-08-25 11:03:22.162 | ValueError: Unknown remainder [u'1a2']
2014-08-25 11:03:22.162 |
2014-08-25 11:03:22.162 | error in setup command: Error parsing /opt/stack/
2014-08-25 11:03:22.162 |
2014-08-25 11:03:22.162 | -------
Since the version is wrong - the first 3 parts of the version should be just numbers - we should just report the error when the sdist is created to avoid having issues installing it.
Changed in pbr: | |
importance: | Undecided → Critical |
Changed in pbr: | |
status: | Fix Committed → Fix Released |
logstash shows a bunch of errors from the past few day(s)
message: "ValueError: Unknown remainder" AND tags:"console"