Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923046 - dev-python/gpep517-15 fails tests
Summary: dev-python/gpep517-15 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-01-27 16:45 UTC by Agostino Sarubbo
Modified: 2024-02-04 19:07 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,69.27 KB, text/plain)
2024-01-27 16:45 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-01-27 16:45:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/gpep517-15 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM
Info about the 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-01-27 16:45:30 UTC
Created attachment 883311 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-27 16:45:31 UTC
Error(s) that match a know pattern:


E               FileNotFoundError: [Errno 2] No such file or directory: 'build/lib/testpkg/__init__.py'
E               SystemExit: error: could not create 'build/lib/testpkg/__init__.py': No such file or directory
E               distutils.errors.DistutilsFileError: could not create 'build/lib/testpkg/__init__.py': No such file or directory
FAILED test/test_main.py::test_integration_install[setuptools-legacy] - SystemExit: error: could not create 'build/lib/testpkg/__init__.py': No suc...
SKIPPED [1] test/test_main.py:323: could not import 'pdm.pep517': No module named 'pdm'
SKIPPED [1] test/test_main.py:323: could not import 'poetry.core': No module named 'poetry'
SKIPPED [1] test/test_main.py:354: could not import 'pdm.pep517': No module named 'pdm'
SKIPPED [1] test/test_main.py:354: could not import 'poetry.core': No module named 'poetry'
import 'pdm.pep517': No module named 'pdm')                             [28/73]
import 'poetry.core': No module named 'poetry')                         [29/73]
not import 'pdm.pep517': No module named 'pdm')                         [34/73]
not import 'poetry.core': No module named 'poetry')                     [35/73]
                sys.stderr.write("error: {}\n".format(exc))
Comment 3 Paolo Pedroni 2024-02-04 18:19:08 UTC
Not just on MUSL. Same thing happens on my glibc system.
Comment 4 Larry the Git Cow gentoo-dev 2024-02-04 19:07:09 UTC
The bug has been closed via the following commit(s):

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

commit 0109136f354cd142c832781d72c692f47e3bb351
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-02-04 19:05:49 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-02-04 19:07:05 +0000

    dev-python/gpep517: Fix tmp_path_retention_policy for tests
    
    Closes: https://bugs.gentoo.org/923046
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/gpep517/gpep517-15.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)