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

Bug 930662

Summary: dev-python/hatchling-1.24.2 fails tests with pypy3: ERROR test_custom.py::test_no_path - TypeError: str expected, not NoneType
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2024-04-25 12:20:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/hatchling-1.24.2 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-04-25 12:21:01 UTC
Created attachment 891688 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-04-25 12:30:03 UTC
to reduce output, I just tested with PYTHON_TARGETS="pypy3"
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-25 13:59:59 UTC
Sigh.  The test suite now unconditionally requires `uv` to be present.  Just great.
Comment 4 Larry the Git Cow gentoo-dev 2024-04-25 14:33:24 UTC
The bug has been closed via the following commit(s):

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

commit cc6e54e1df5e0802198c793f39107a9028b8698f
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-04-25 14:01:37 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-04-25 14:33:19 +0000

    dev-python/hatchling: Fix test failures without dev-python/uv
    
    Closes: https://bugs.gentoo.org/930662
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/hatchling/hatchling-1.24.2.ebuild | 47 ++++++++++++++++++----------
 1 file changed, 30 insertions(+), 17 deletions(-)