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

Bug 898680

Summary: dev-python/pyyaml-6.0-r1 fails to compile (CYTHON3-SYSTEM): AttributeError: cython_sources
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: harrisl, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/yaml/pyyaml/issues/601
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 897934    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-03-02 08:23:47 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pyyaml-6.0-r1 fails to compile (CYTHON3-SYSTEM).
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(CYTHON3-SYSTEM) in the summary means that the bug was found on a machine that runs dev-python/cython-3 but this bug MAY or MAY NOT BE related to the new version of cython
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-02 08:23:49 UTC
Created attachment 855530 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-05-24 19:03:39 UTC
The bug has been referenced in the following commit(s):

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

commit 1b2d0cc54c90c68516b707da22d54f31c9fa0cf7
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-05-24 18:57:56 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-05-24 18:57:56 +0000

    dev-python/pyyaml: Require <dev-python/cython-3
    
    Bug: https://bugs.gentoo.org/898680
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pyyaml/pyyaml-6.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Larry the Git Cow gentoo-dev 2023-07-27 02:48:26 UTC
The bug has been closed via the following commit(s):

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

commit 402d7b32428f7dc7fb4d83a4ee9f4d8ff7f5b560
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-27 02:38:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-27 02:47:20 +0000

    dev-python/pyyaml: backport cython-3 patch
    
    Closes: https://bugs.gentoo.org/898680
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/pyyaml/files/pyyaml-6.0.1-cython3.patch | 36 +++++++++++++++
 dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild           | 54 ++++++++++++++++++++++
 2 files changed, 90 insertions(+)