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

Bug 932518

Summary: dev-python/pycollada-0.8 fails tests: AttributeError: np.string_ was removed in the NumPy 2.0 release Use np.bytes_ instead
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Bernd <waebbl-gentoo>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny, proxy-maint, python
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/pycollada/pycollada/pull/147
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 930951    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-05-23 06:53:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pycollada-0.8 fails tests.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-05-23 06:53:34 UTC
Created attachment 893941 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-05-23 06:53:35 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


AttributeError: `np.string_` was removed in the NumPy 2.0 release. Use `np.bytes_` instead.
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
ERROR: test_idref_source_saving (collada.tests.test_source.TestSource)
ERROR: test_name_source_saving (collada.tests.test_source.TestSource)
FAILED (errors=2)
Comment 3 Larry the Git Cow gentoo-dev 2024-05-24 11:09:25 UTC
The bug has been closed via the following commit(s):

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

commit 62450f869d71631ddf1f11dbce2b687f90f081ef
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-05-24 09:32:43 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-05-24 11:09:16 +0000

    dev-python/pycollada: Fix compatibility with >=dev-python/numpy-2
    
    Closes: https://bugs.gentoo.org/932518
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../pycollada/files/pycollada-0.8-numpy-2.patch    | 76 ++++++++++++++++++++++
 ...ycollada-0.8.ebuild => pycollada-0.8-r1.ebuild} |  5 ++
 2 files changed, 81 insertions(+)