this error occurs when trying to emerge hugin-9999 which uses mercurial: >>> Emerging (1 of 1) media-gfx/hugin-9999::gentoo * * Requested wxWidgets: 3.2-gtk3 * Using wxWidgets: gtk3-unicode-3.2-gtk3 * >>> Unpacking source... * Updating /var/cache/distfiles/hg-src/hugin-hugin/hugin from http://hg.code.sf.net/p/hugin/hugin Traceback (most recent call last): File "/usr/lib/python-exec/python3.12/hg", line 57, in <module> from mercurial import dispatch File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "/usr/lib/python3.12/site-packages/hgdemandimport/demandimportpy3.py", line 52, in exec_module super().exec_module(module) File "<frozen importlib.util>", line 257, in exec_module File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "/usr/lib/python3.12/site-packages/hgdemandimport/demandimportpy3.py", line 52, in exec_module super().exec_module(module) File "<frozen importlib.util>", line 267, in exec_module AttributeError: partially initialized module 'threading' has no attribute 'RLock' (most likely due to a circular import) i also tried mercurial-6.7.4 but the result is the same as with 6.8.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22538368699394fd18dbb50187171606dddf4bac commit 22538368699394fd18dbb50187171606dddf4bac Author: Cédric Krier <cedk@gentoo.org> AuthorDate: 2024-08-15 12:59:26 +0000 Commit: Cédric Krier <cedk@gentoo.org> CommitDate: 2024-08-15 12:59:58 +0000 dev-vcs/mercurial: add 6.8.1, drop 6.8 Closes: https://bugs.gentoo.org/937965 Signed-off-by: Cédric Krier <cedk@gentoo.org> dev-vcs/mercurial/Manifest | 22 +++++++++++++++++++++- ...mercurial-6.8.ebuild => mercurial-6.8.1.ebuild} | 20 ++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-)
*** Bug 938128 has been marked as a duplicate of this bug. ***