$ hg clone https://foss.heptapod.net/openpyxl/openpyxl Traceback (most recent call last): File "/usr/lib/python-exec/python3.9/hg", line 59, in <module> dispatch.run() File "/usr/lib/python3.9/site-packages/mercurial/dispatch.py", line 143, in run status = dispatch(req) File "/usr/lib/python3.9/site-packages/mercurial/dispatch.py", line 245, in dispatch status = _rundispatch(req) File "/usr/lib/python3.9/site-packages/mercurial/dispatch.py", line 267, in _rundispatch req.ui = uimod.ui.load() File "/usr/lib/python3.9/site-packages/mercurial/ui.py", line 316, in load u.read_resource_config(f, trust=True) File "/usr/lib/python3.9/site-packages/mercurial/ui.py", line 444, in read_resource_config self._readconfig( File "/usr/lib/python3.9/site-packages/mercurial/ui.py", line 468, in _readconfig cfg.read(filename, fp, sections=sections, remap=remap) File "/usr/lib/python3.9/site-packages/mercurial/config.py", line 224, in read self.parse( File "/usr/lib/python3.9/site-packages/mercurial/config.py", line 128, in parse sectionre = util.re.compile(br'\[([^\[]+)\]') File "/usr/lib/python3.9/site-packages/mercurial/util.py", line 2191, in compile return re2.compile(pat) File "/usr/lib/python3.9/site-packages/re2.py", line 56, in compile return _compile(pattern, error) TypeError: _compile() argument 1 must be str, not bytes
cedk, can you bump to 5.8? May help.
I'd like to point out that these changes, https://github.com/gentoo/gentoo/pull/15825 should be incorporated in the next version bump too.
It seems to be related to https://phab.mercurial-scm.org/D10284
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8504300df866ddfdbd7f288cbfe0c9ff1f1232e commit b8504300df866ddfdbd7f288cbfe0c9ff1f1232e Author: Cédric Krier <cedk@gentoo.org> AuthorDate: 2021-05-30 08:00:24 +0000 Commit: Cédric Krier <cedk@gentoo.org> CommitDate: 2021-05-30 08:07:18 +0000 dev-vcs/mercurial: version bumps and remove zsh-completion use Bug: https://bugs.gentoo.org/792876 Closes: https://github.com/gentoo/gentoo/pull/15825 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Cédric Krier <cedk@gentoo.org> dev-vcs/mercurial/Manifest | 18 ++++++++++--- .../{mercurial-5.7.ebuild => mercurial-5.8.ebuild} | 31 +++++++++++++--------- 2 files changed, 33 insertions(+), 16 deletions(-)