Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 947315

Summary: dev-vcs/tortoisehg-6.6.3-r1 fails tests: ERROR filedata_test.py
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sergey Torokhov <torokhov-s-a>
Status: RESOLVED FIXED    
Severity: normal CC: asturm, proxy-maint, torokhov-s-a
Priority: Normal Keywords: PullRequest, TESTFAILURE, UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/6010
See Also: https://github.com/gentoo/gentoo/pull/40166
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 948006    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2025-01-01 17:50:12 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-vcs/tortoisehg-6.6.3-r1 fails tests.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2025-01-01 17:50:14 UTC
Created attachment 915653 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2025-01-01 17:50:14 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E   ImportError: cannot import name 'QTextCodec' from 'tortoisehg.hgqt.qtcore' (/var/tmp/portage/dev-vcs/tortoisehg-6.6.3-r1/work/thg-6.6.3/tortoisehg/hgqt/qtcore.py)
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
ERROR tests/filedata_test.py
ERROR tests/graphbuilder_test.py
ERROR tests/graph_test.py
ERROR tests/helpers.py
ERROR tests/hglib_encoding_test.py
ERROR tests/hglib_repo_test.py
ERROR tests/qt_cmdagent_test.py
ERROR tests/qt_manifestmodel_test.py
ERROR tests/qt_patchqueuemodel_test.py
ERROR tests/qt_repoagent_test.py
ERROR tests/qt_repomanager_test.py
ERROR tests/wconfig_test.py
ERROR tests/widget/repofilterbar_branch_test.py
ERROR tests/widget/sync_save_dialog_test.py
Comment 3 Sergey Torokhov 2025-01-03 08:24:41 UTC
I created the upstream issue: https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues/6010

`tests/helpers.py` isn't ported to PyQt6 that results in the test errors.
Comment 4 Sergey Torokhov 2025-01-14 04:53:07 UTC
Upstream add changes to disable QTextCodec tests on Qt6 platform. But there are also several patches to fix other tests with Qt6 that affect sourcecode out of tests directory so dev-vcs/tortoisehg-6.6.3 revision will be required too.
Comment 5 Larry the Git Cow gentoo-dev 2025-01-19 13:48:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12d10fba7c53fa06425b3c28d347ecd8ce35a55b

commit 12d10fba7c53fa06425b3c28d347ecd8ce35a55b
Author:     Sergey Torokhov <torokhov-s-a@yandex.ru>
AuthorDate: 2025-01-16 18:00:14 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-01-19 13:48:25 +0000

    dev-vcs/tortoisehg: 6.9 version bump
    
    Closes: https://bugs.gentoo.org/947315
    Bug: https://bugs.gentoo.org/948006
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
    Closes: https://github.com/gentoo/gentoo/pull/40166
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-vcs/tortoisehg/Manifest               |  1 +
 dev-vcs/tortoisehg/tortoisehg-6.9.ebuild  | 82 +++++++++++++++++++++++++++++++
 dev-vcs/tortoisehg/tortoisehg-9999.ebuild | 12 ++---
 3 files changed, 89 insertions(+), 6 deletions(-)