Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936052 - dev-python/pyproject-hooks-1.1.0 fails tests: FAILED test_call_hooks.py::test_setup_py - AssertionError: assert [] == [wheel]
Summary: dev-python/pyproject-hooks-1.1.0 fails tests: FAILED test_call_hooks.py::test...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-07-14 16:21 UTC by Agostino Sarubbo
Modified: 2024-07-14 16:52 UTC (History)
0 users

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


Attachments
build.log (build.log,56.33 KB, text/plain)
2024-07-14 16:21 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-07-14 16:21:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pyproject-hooks-1.1.0 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-07-14 16:21:06 UTC
Created attachment 897605 [details]
build.log

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


E       AssertionError: assert [] == ['wheel']
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
FAILED tests/test_call_hooks.py::test_setup_py - AssertionError: assert [] == ['wheel']
tests/test_call_hooks.py::test_setup_py FAILED                          [15/37]
Comment 3 Eli Schwartz gentoo-dev 2024-07-14 16:36:53 UTC
Good news, upstream CI all fails for the same reason. :)
Comment 4 Larry the Git Cow gentoo-dev 2024-07-14 16:52:43 UTC
The bug has been closed via the following commit(s):

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

commit e6e9f6e947e193254bf7f99c6d3b83b1985450a2
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2024-07-14 16:50:00 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-07-14 16:52:15 +0000

    dev-python/pyproject-hooks: deselect test that depends on changed setuptools impl
    
    It assumes that setuptools adds a get_requires_for_build_wheel on
    "wheel", which is no longer true since it internally includes wheel.
    
    Bug: https://github.com/pypa/pyproject-hooks/issues/203
    Closes: https://bugs.gentoo.org/936052
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 dev-python/pyproject-hooks/pyproject-hooks-1.1.0.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)