debian package for pycommon 0.5.1 has invalid version
Here's what i am using:
$ apt-cache policy python-leap-common python-leap-common: Installiert: 0.5.1+0~20160518013218.41+jessie~1.gbp0012cd Installationskandidat: 0.5.1+0~20160518013218.41+jessie~1.gbp0012cd Versionstabelle: *** 0.5.1+0~20160518013218.41+jessie~1.gbp0012cd 0 500 http://deb.bitmask.net/debian/ jessie/main amd64 Packages 100 /var/lib/dpkg/status
when i try to launch bitmask i get
$ bitmask Traceback (most recent call last): File "/usr/bin/bitmask", line 5, in from pkg_resources import load_entry_point File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2876, in working_set = WorkingSet._build_master() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 451, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 464, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 639, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: leap.common>=0.5.1
The content of /usr/lib/python2.7/dist-packages/leap/common/_version.py looks suspicious:
$ cat /usr/lib/python2.7/dist-packages/leap/common/_version.py # This file was generated by 'versioneer.py' (0.16) from # revision-control system data, or from the parent directory name of an # unpacked source archive. Distribution tarballs contain a pre-generated copy # of this file. import json import sys version_json = ''' { "dirty": null, "error": "unable to compute version", "full-revisionid": null, "version": "0+unknown" } ''' # END VERSION_JSON def get_versions(): return json.loads(version_json)
(from redmine: created on 2016-05-18, closed on 2016-05-20, relates #8110 (closed), relates #8113 (closed))