[Bug 6229] New: Incorrect version in hg-evolve package with Python 3
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Sun Nov 24 22:52:38 UTC 2019
https://bz.mercurial-scm.org/show_bug.cgi?id=6229
Bug ID: 6229
Summary: Incorrect version in hg-evolve package with Python 3
Product: Mercurial
Version: unspecified
Hardware: PC
OS: All
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: evolution
Assignee: bugzilla at mercurial-scm.org
Reporter: byron at glob.com.au
CC: mercurial-devel at mercurial-scm.org,
pierre-yves.david at ens-lyon.org
Python Version: 3.7
Symptom: The hg-evolve package is always updated by pip even though the version
hasn't changed.
glob /opt/mercurial$ ./bin/python --version
Python 3.7.5
glob /opt/mercurial$ ./bin/pip list
Package Version
---------- --------
hg-evolve b-9.2.1-
mercurial 5.2
pip 19.3.1
setuptools 41.2.0
glob /opt/mercurial$ ./bin/pip install -U hg-evolve
Collecting hg-evolve
Downloading
https://files.pythonhosted.org/packages/18/6c/7ae28f077dc8c9f522570e5be8a86a961bfdd47387afa1a708df034a5353/hg-evolve-9.2.1.tar.gz
(775kB)
|ââââââââââââââââââââââââââââââââ| 778kB 590kB/s
Installing collected packages: hg-evolve
Found existing installation: hg-evolve b-9.2.1-
Uninstalling hg-evolve-b-9.2.1-:
Successfully uninstalled hg-evolve-b-9.2.1-
Running setup.py install for hg-evolve ... done
Successfully installed hg-evolve-b-9.2.1-
glob /opt/mercurial$ ./bin/pip list
Package Version
---------- --------
hg-evolve b-9.2.1-
mercurial 5.2
pip 19.3.1
setuptools 41.2.0
Note hg-evolve has the version "b-9.2.1-" both prior and after running upgrade.
This is caused by get_version() in setup.py returning a byte string (b'9.2.1')
instead of a native string.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list