Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888243 - dev-python/quantities-0.13.0-r1 fails tests (DASH-SYSTEM): AttributeError: module numpy has no attribute typeDict
Summary: dev-python/quantities-0.13.0-r1 fails tests (DASH-SYSTEM): AttributeError: mo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-25 08:30 UTC by Agostino Sarubbo
Modified: 2022-12-25 15:42 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,144.88 KB, text/plain)
2022-12-25 08:30 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 2022-12-25 08:30:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/quantities-0.13.0-r1 fails tests (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-25 08:30:49 UTC
Created attachment 844889 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-25 08:30:49 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E       AttributeError: module 'numpy' has no attribute 'typeDict'
        except KeyError:
FAILED quantities/tests/test_arithmetic.py::TestDTypes::test_mul - AttributeE...
Comment 3 Agostino Sarubbo gentoo-dev 2022-12-25 08:31:15 UTC
 # Error: Bugzilla error: There is no user named 'ddenoncin@gmail.com'. Either you mis-typed the name or that user has not yet registered for a Gentoo's Bugzilla account.
Comment 4 Larry the Git Cow gentoo-dev 2022-12-25 15:42:31 UTC
The bug has been closed via the following commit(s):

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

commit c21657c0f67d11ae2dbfd0d30fed9ce8c83bdf9c
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-12-25 15:38:48 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-12-25 15:41:56 +0000

    dev-python/quantities: Backport numpy 1.24 fix
    
    Also update archive since upstream fixed release tag.
    
    Closes: https://bugs.gentoo.org/888243
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/quantities/Manifest                     |  2 +-
 .../quantities/files/quantities-0.13.0-numpy.patch | 68 ++++++++++++++++++++++
 ....13.0-r1.ebuild => quantities-0.13.0-r2.ebuild} | 12 +++-
 3 files changed, 79 insertions(+), 3 deletions(-)