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

Bug 918401

Summary: dev-python/sphinxygen-1.0.4 fails test: test/test_sphinxygen.py::TestSphinxygen::test_generate
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: fordfrog, matoro_gentoo, python
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/34297
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 918121    
Attachments: emerge --info
/var/log/portage/dev-python:sphinxygen-1.0.4:20231124-141332.log

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-24 14:17:55 UTC
Created attachment 875514 [details]
emerge --info

FAILED test/test_sphinxygen.py::TestSphinxygen::test_generate - subprocess.CalledProcessError: Command '['cp', 'test/c/conf.py', 'build
']' returned non-zero exit status 1.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-24 14:18:14 UTC
Created attachment 875515 [details]
/var/log/portage/dev-python:sphinxygen-1.0.4:20231124-141332.log
Comment 2 Miroslav Šulc gentoo-dev 2023-11-27 08:06:09 UTC
i don't speak python so i'm not able to fix it, so any help with this is welcome. this issue is blocking stabilization of several packages.
Comment 3 matoro archtester 2023-12-10 03:26:37 UTC
Probably due to using pypi tarball, switch to gitlab release tarball and it should work
Comment 4 Larry the Git Cow gentoo-dev 2023-12-16 19:58:07 UTC
The bug has been closed via the following commit(s):

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

commit 75ef3042882fc0113e74028d5c5083a31e839442
Author:     Matoro Mahri <matoro_gentoo@matoro.tk>
AuthorDate: 2023-12-15 18:04:20 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2023-12-16 19:51:25 +0000

    dev-python/sphinxygen: fix tests
    
    Use VCS tarball over pypi.  Also test dep.
    
    Closes: https://bugs.gentoo.org/918401
    Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
    Closes: https://github.com/gentoo/gentoo/pull/34297
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-python/sphinxygen/Manifest                   |  1 +
 dev-python/sphinxygen/sphinxygen-1.0.4-r1.ebuild | 27 ++++++++++++++++++++++++
 2 files changed, 28 insertions(+)