tahoe-lafs / zfec

zfec -- an efficient, portable erasure coding tool
Other
374 stars 44 forks source link

installed version number is incorrect #11

Closed warner closed 6 years ago

warner commented 6 years ago

Something must have broken in the PBR/Versioneer interaction in the 1.5.0 release, because now pip no longer reports the correct version:

warner@xoanon:/tmp$ virtualenv zfec-ve
Running virtualenv with interpreter /usr/bin/python2
New python executable in /tmp/zfec-ve/bin/python2
Also creating executable in /tmp/zfec-ve/bin/python
Installing setuptools, pkg_resources, pip, wheel...source zfec- done.
warner@xoanon:/tmp$ source zfec-ve/bin/activate
(zfec-ve) warner@xoanon:/tmp$ pip install zfec
Collecting zfec
  Downloading zfec-1.5.0.tar.gz (80kB)
    100% |████████████████████████████████| 81kB 1.2MB/s
Requirement already satisfied: argparse>=0.8 in /usr/lib/python2.7 (from zfec)
Collecting pyutil>=3.0.0 (from zfec)
  Downloading pyutil-3.1.0.tar.gz (294kB)
    100% |████████████████████████████████| 296kB 671kB/s
Building wheels for collected packages: zfec, pyutil
  Running setup.py bdist_wheel for zfec ... done
  Stored in directory: /home/warner/.cache/pip/wheels/ce/c9/77/e1da531c704dfb4bde2014a89809f3fc1c3235389c0f8df81f
  Running setup.py bdist_wheel for pyutil ... done
  Stored in directory: /home/warner/.cache/pip/wheels/31/d1/96/5ba92802084eb2e96fb036882164ad6018e3a9d8ac86ec558a
Successfully built zfec pyutil
Installing collected packages: pyutil, zfec
Successfully installed pyutil-3.1.0 zfec-0+unknown
(zfec-ve) warner@xoanon:/tmp$ pip list
Package       Version
------------- ---------
pip           9.0.1
pkg-resources 0.0.0
pyutil        3.1.0
setuptools    38.4.0
wheel         0.30.0
zfec          0+unknown

That should be reporting "zfec 1.5.0" instead of "zfec 0+unknown".