Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931017 - dev-python/pdm-backend-2.3.0 fails tests: ERROR test_scm.py::test__get_version_from_scm__returns_tag_if_method_unspecified[hg] - AssertionError: Cannot find hg in path
Summary: dev-python/pdm-backend-2.3.0 fails tests: ERROR test_scm.py::test__get_versio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-05-01 11:19 UTC by Agostino Sarubbo
Modified: 2024-05-01 11:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,124.44 KB, text/plain)
2024-05-01 11:19 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-05-01 11:19:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pdm-backend-2.3.0 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 2024-05-01 11:19:53 UTC
Created attachment 892074 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-05-01 11:19:54 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E       AssertionError: Cannot find hg in path
ERROR tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__adds_details_if_project_is_dirty[hg] - AssertionError: Cannot find hg in path
ERROR tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__returns_default_if_tag_cannot_be_parsed[hg] - AssertionError: Cannot find hg in path
ERROR tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__returns_tag_if_method_unspecified[hg] - AssertionError: Cannot find hg in path
ERROR tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__returns_version_if_tag_has_v[hg] - AssertionError: Cannot find hg in path
ERROR tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__selects_by_tag_filter_on_different_commits[hg-0] - AssertionError: Cannot find hg in path
ERROR tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__selects_by_tag_filter_on_different_commits[hg-1] - AssertionError: Cannot find hg in path
ERROR tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__selects_by_tag_filter_on_same_commit[hg-0] - AssertionError: Cannot find hg in path
ERROR tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__selects_by_tag_filter_on_same_commit[hg-1] - AssertionError: Cannot find hg in path
ERROR tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__tag_regex[hg] - AssertionError: Cannot find hg in path
Comment 3 Larry the Git Cow gentoo-dev 2024-05-01 11:48:10 UTC
The bug has been closed via the following commit(s):

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

commit ee655b9dd8c278c744b1ec1ec9aa068b257cb6fa
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-05-01 11:31:30 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-05-01 11:48:04 +0000

    dev-python/pdm-backend: Fix missing dev-vcs/mercurial test dep
    
    Closes: https://bugs.gentoo.org/931017
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pdm-backend/pdm-backend-2.3.0.ebuild | 13 +++++++++++++
 1 file changed, 13 insertions(+)