Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932518 - dev-python/pycollada-0.8 fails tests: AttributeError: np.string_ was removed in the NumPy 2.0 release Use np.bytes_ instead
Summary: dev-python/pycollada-0.8 fails tests: AttributeError: np.string_ was removed ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernd
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 930951
  Show dependency tree
 
Reported: 2024-05-23 06:53 UTC by Agostino Sarubbo
Modified: 2024-05-24 11:09 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,122.46 KB, text/plain)
2024-05-23 06:53 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-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(+)